projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16029: Fixes failed login attempt by redirecting the user to the login page.
[arvados-workbench2.git]
/
src
/
views
/
main-panel
/
main-panel-root.tsx
diff --git
a/src/views/main-panel/main-panel-root.tsx
b/src/views/main-panel/main-panel-root.tsx
index e7daaf00932f0a0c8080946b22f340e2114870f9..5806f5b8276593a7a101f66f7ef3c39bdf6f2f6e 100644
(file)
--- a/
src/views/main-panel/main-panel-root.tsx
+++ b/
src/views/main-panel/main-panel-root.tsx
@@
-46,10
+46,16
@@
export const MainPanelRoot = withStyles(styles)(
buildInfo={buildInfo}
uuidPrefix={uuidPrefix}
siteBanner={siteBanner}>
buildInfo={buildInfo}
uuidPrefix={uuidPrefix}
siteBanner={siteBanner}>
- {working ? <LinearProgress color="secondary" /> : null}
+ {working
+ ? <LinearProgress color="secondary" />
+ : null}
</MainAppBar>}
<Grid container direction="column" className={classes.root}>
</MainAppBar>}
<Grid container direction="column" className={classes.root}>
- {user ? (user.isActive || (!user.isActive && isLinkingPath) ? <WorkbenchPanel isNotLinking={isNotLinking} isUserActive={user.isActive} /> : <InactivePanel />) : <LoginPanel />}
+ {user
+ ? (user.isActive || (!user.isActive && isLinkingPath)
+ ? <WorkbenchPanel isNotLinking={isNotLinking} isUserActive={user.isActive} />
+ : <InactivePanel />)
+ : <LoginPanel />}
</Grid>
</>
);
</Grid>
</>
);