Skip to content

Commit

Permalink
fix: Missing email summary for retros (#9960)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch authored Jul 11, 2024
1 parent fa69000 commit b4a9129
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/client/utils/AtlassianClientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const ERROR_POPUP_CLOSED = 'Popup closed before authorization was complet

class AtlassianClientManager extends AtlassianManager {
fetch = window.fetch.bind(window)
static isAvailable = !!window.__ACTION__.atlassian
static isAvailable = typeof window !== 'undefined' && !!window.__ACTION__.atlassian

static openOAuth(
atmosphere: Atmosphere,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/utils/GitHubClientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class GitHubClientManager {
static SCOPE = Providers.GITHUB_SCOPE

fetch = window.fetch.bind(window)
static isAvailable = !!window.__ACTION__.github
static isAvailable = typeof window !== 'undefined' && !!window.__ACTION__.github
static openOAuth(atmosphere: Atmosphere, teamId: string, mutationProps: MenuMutationProps) {
const {submitting, onError, onCompleted, submitMutation} = mutationProps
const hash = Math.random().toString(36).substring(5)
Expand Down
2 changes: 1 addition & 1 deletion packages/client/utils/SlackClientManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import SlackManager from './SlackManager'

class SlackClientManager extends SlackManager {
fetch = window.fetch.bind(window)
static isAvailable = !!window.__ACTION__.slack
static isAvailable = typeof window !== 'undefined' && !!window.__ACTION__.slack
static openOAuth(atmosphere: Atmosphere, teamId: string, mutationProps: MenuMutationProps) {
const {submitting, onError, onCompleted, submitMutation} = mutationProps
const hash = Math.random().toString(36).substring(5)
Expand Down

0 comments on commit b4a9129

Please sign in to comment.