We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb179b commit 61a0f83Copy full SHA for 61a0f83
src/components/views/dialogs/IntegrationsDisabledDialog.tsx
@@ -13,6 +13,7 @@ import dis from "../../../dispatcher/dispatcher";
13
import { Action } from "../../../dispatcher/actions";
14
import BaseDialog from "./BaseDialog";
15
import DialogButtons from "../elements/DialogButtons";
16
+import { UserTab } from "./UserTab";
17
18
interface IProps {
19
onFinished(): void;
@@ -25,7 +26,10 @@ export default class IntegrationsDisabledDialog extends React.Component<IProps>
25
26
27
private onOpenSettingsClick = (): void => {
28
this.props.onFinished();
- dis.fire(Action.ViewUserSettings);
29
+ dis.dispatch({
30
+ action: Action.ViewUserSettings,
31
+ initialTabId: UserTab.Security,
32
+ });
33
};
34
35
public render(): React.ReactNode {
0 commit comments