Update getTagValues to handle undefined tag values field
[arvados-workbench2.git] / src / views-components / main-app-bar / main-app-bar.tsx
index dfa7ee2752396ad7345df8366534a07a16857f08..b936fb14d3fbc05412bc76178efbf466fa5dc496 100644 (file)
@@ -27,17 +27,11 @@ const styles: StyleRulesCallback<CssRules> = () => ({
 });
 
 interface MainAppBarDataProps {
-    // searchText: string;
-    // searchDebounce?: number;
     user?: User;
     buildInfo?: string;
     children?: ReactNode;
 }
 
-// export interface MainAppBarActionProps {
-//     onSearch: (searchText: string) => void;
-// }
-
 export type MainAppBarProps = MainAppBarDataProps & WithStyles<CssRules>;
 
 export const MainAppBar = withStyles(styles)(
@@ -58,12 +52,7 @@ export const MainAppBar = withStyles(styles)(
                         xs={6}
                         container
                         alignItems="center">
-                        {/* {props.user && <SearchBar
-                            value={props.searchText}
-                            onSearch={props.onSearch}
-                            debounce={props.searchDebounce}
-                        />
-                        } */}
+                        {props.user && <SearchBar /> }
                     </Grid>
                     <Grid
                         item