mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
WIP Fix & last tasks
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user