15088: Handles browser navigation during link account ops
[arvados-workbench2.git] / src / store / link-account-panel / link-account-panel-reducer.ts
index 80878c3471dec02457b380962928672306a7fec8..0e61abdd2f55bf094cfe96716cd223fdafd92a65 100644 (file)
@@ -6,6 +6,7 @@ import { linkAccountPanelActions, LinkAccountPanelAction } from "~/store/link-ac
 import { UserResource } from "~/models/user";
 
 export enum LinkAccountPanelStatus {
+    NONE,
     INITIAL,
     HAS_SESSION_DATA,
     LINKING,
@@ -41,7 +42,7 @@ const initialState = {
     targetUserToken: undefined,
     userToLink: undefined,
     userToLinkToken: undefined,
-    status: LinkAccountPanelStatus.INITIAL,
+    status: LinkAccountPanelStatus.NONE,
     error: LinkAccountPanelError.NONE
 };