X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/876e5e2f31a218255845977489ea70aacc0211cd..54805dd83a984d4e34bb35146d2505bac12bc1d0:/src/components/default-view/default-view.tsx diff --git a/src/components/default-view/default-view.tsx b/src/components/default-view/default-view.tsx index 3bc3e529..014b8cc4 100644 --- a/src/components/default-view/default-view.tsx +++ b/src/components/default-view/default-view.tsx @@ -2,12 +2,12 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as React from 'react'; +import React from 'react'; import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core/styles'; import { ArvadosTheme } from '../../common/custom-theme'; import { Typography } from '@material-ui/core'; import { IconType } from '../icon/icon'; -import * as classnames from "classnames"; +import classnames from "classnames"; type CssRules = 'root' | 'icon' | 'message'; @@ -27,6 +27,7 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ export interface DefaultViewDataProps { classRoot?: string; messages: string[]; + filtersApplied?: boolean; classMessage?: string; icon: IconType; classIcon?: string; @@ -39,8 +40,8 @@ export const DefaultView = withStyles(styles)( {messages.map((msg: string, index: number) => { - return {msg}; })} -); \ No newline at end of file +);