fix(webapp): change the remove line option text to be red to intent as danger action

This commit is contained in:
Ahmed Bouhuolia
2023-06-15 20:49:23 +02:00
parent 01c27b56ef
commit 70415d1d63
3 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
// @ts-nocheck
import React from 'react';
import intl from 'react-intl-universal';
import { MenuItem, Menu, Button, Position } from '@blueprintjs/core';
import { MenuItem, Menu, Button, Position, Intent } from '@blueprintjs/core';
import { Popover2 } from '@blueprintjs/popover2';
import { Align, CellType, Features } from '@/constants';
@@ -47,6 +47,7 @@ export function ActionsCellRenderer({
const exampleMenu = (
<Menu>
<MenuItem
intent={Intent.DANGER}
onClick={onRemoveRole}
text={<T id={'item_entries.remove_row'} />}
/>