WIP Fix & last tasks

This commit is contained in:
elforjani3
2020-05-31 21:33:45 +02:00
parent 2e8ffa2aa9
commit 41d106e1a7
30 changed files with 1483 additions and 948 deletions

View File

@@ -183,7 +183,7 @@ const ItemCategoryList = ({
>
<p>
<FormattedHTMLMessage
id={'once_delete_these_item_categories_you_will_not_able_restore_them'}
id={'once_delete_these_items_you_will_not_able_restore_them'}
/>
</p>
</Alert>

View File

@@ -5,6 +5,7 @@ import {
Menu,
MenuItem,
Position,
Intent
} from '@blueprintjs/core';
import { FormattedMessage as T, useIntl } from 'react-intl';
@@ -37,6 +38,7 @@ const ItemsCategoryList = ({
onClick={() => handelEditCategory(category)} />
<MenuItem
text={<T id={'delete_category'}/>}
intent={Intent.DANGER}
onClick={() => handleDeleteCategory(category)}
/>
</Menu>