14720: Show home cluster for federated users.
[arvados.git] / src / views-components / main-app-bar / main-app-bar.tsx
index 8a7e9f2000f0af954275b3ac6717ff6479550ce1..d2a05837dfdaf634788080599f12daa065b822db 100644 (file)
@@ -31,6 +31,7 @@ interface MainAppBarDataProps {
     user?: User;
     buildInfo?: string;
     children?: ReactNode;
+    uuidPrefix: string;
 }
 
 export type MainAppBarProps = MainAppBarDataProps & WithStyles<CssRules>;
@@ -41,9 +42,9 @@ export const MainAppBar = withStyles(styles)(
             <Toolbar className={props.classes.toolbar}>
                 <Grid container justify="space-between">
                     <Grid container item xs={3} direction="column" justify="center">
-                        <Typography variant="title" color="inherit" noWrap>
+                        <Typography variant='h6' color="inherit" noWrap>
                             <Link to={Routes.ROOT} className={props.classes.link}>
-                                arvados workbench
+                                arvados workbench ({props.uuidPrefix})
                             </Link>
                         </Typography>
                         <Typography variant="caption" color="inherit">{props.buildInfo}</Typography>
@@ -53,7 +54,7 @@ export const MainAppBar = withStyles(styles)(
                         xs={6}
                         container
                         alignItems="center">
-                        {props.user && <SearchBar /> }
+                        {props.user && <SearchBar />}
                     </Grid>
                     <Grid
                         item