15088: Adds routing for link-account panel
[arvados-workbench2.git] / src / store / link-account / link-account-panel-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Dispatch } from "redux";
6 import { RootState } from "~/store/store";
7 import { initialize } from "redux-form";
8 import { ServiceRepository } from "~/services/services";
9 import { setBreadcrumbs } from "~/store/breadcrumbs/breadcrumbs-actions";
10 import { authActions } from "~/store/auth/auth-action";
11 import { snackbarActions, SnackbarKind } from "~/store/snackbar/snackbar-actions";
12
13 export const LINK_ACCOUNT_FORM = 'linkAccountForm';
14
15 export const loadLinkAccountPanel = () =>
16     (dispatch: Dispatch<any>, getState: () => RootState, services: ServiceRepository) => {
17        dispatch(setBreadcrumbs([{ label: 'Link account'}]));
18     };