X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/d866a8ad7d9d8f48c761fa7ea8ea96b17cbfdb2f..refs/heads/18257-chips-error-fix:/src/views/link-account-panel/link-account-panel.tsx diff --git a/src/views/link-account-panel/link-account-panel.tsx b/src/views/link-account-panel/link-account-panel.tsx index f0a9e5a1..65a82170 100644 --- a/src/views/link-account-panel/link-account-panel.tsx +++ b/src/views/link-account-panel/link-account-panel.tsx @@ -2,23 +2,24 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { RootState } from '~/store/store'; +import { RootState } from 'store/store'; import { Dispatch } from 'redux'; import { connect } from 'react-redux'; -import { startLinking, cancelLinking, linkAccount, linkAccountPanelActions } from '~/store/link-account-panel/link-account-panel-actions'; -import { LinkAccountType } from '~/models/link-account'; +import { startLinking, linkAccount, linkAccountPanelActions, cancelLinking } from 'store/link-account-panel/link-account-panel-actions'; +import { LinkAccountType } from 'models/link-account'; import { LinkAccountPanelRoot, LinkAccountPanelRootDataProps, LinkAccountPanelRootActionProps -} from '~/views/link-account-panel/link-account-panel-root'; +} from 'views/link-account-panel/link-account-panel-root'; const mapStateToProps = (state: RootState): LinkAccountPanelRootDataProps => { return { - remoteHosts: state.auth.remoteHosts, + remoteHostsConfig: state.auth.remoteHostsConfig, hasRemoteHosts: Object.keys(state.auth.remoteHosts).length > 1 && state.auth.loginCluster === "", selectedCluster: state.linkAccountPanel.selectedCluster, localCluster: state.auth.localCluster, + loginCluster: state.auth.loginCluster, targetUser: state.linkAccountPanel.targetUser, userToLink: state.linkAccountPanel.userToLink, status: state.linkAccountPanel.status,