Commit 89bfd163 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '398-add-icon-is-missing-in-code-values' into 'main'

The add icon (+) is missing in code_values.

Closes #398

See merge request grin-global/grin-global-ui!388
parents 388ba4bc da8dea2f
......@@ -29,6 +29,7 @@ import { showSnackbar } from '@gringlobal-ce/client/action/snackbar';
import TocIcon from '@material-ui/icons/Toc';
import AddIcon from '@material-ui/icons/Add';
import CodeValueStatsDialog from "codevalue/ui/admin/c/CodeValueStatsDialog";
import AddNewButton from "@gringlobal-ce/client/ui/common/button/AddNewButton";
interface IBrowsePageState {
selected: Partial<TranslatedCodeValue>[];
......@@ -197,6 +198,9 @@ class BrowsePage extends React.Component<PropsFromRedux & WithTranslation, IBrow
actions={ actions }
/>
}
{ !groupName &&
<AddNewButton action={ this.openDialog }/>
}
</>
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment