feat: activate, disable and erase fields in Object Detail (#2200)
* feat: activate and disable objects Closes #2144, Closes #2148, Closes #2154 * feat: activate, disable and erase fields in Object Detail Closes #2158 --------- Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
@ -14,6 +14,7 @@ import { AppPath } from '@/types/AppPath';
|
||||
import { IconMinus, IconPlus, IconSettings } from '@/ui/display/icon';
|
||||
import { H2Title } from '@/ui/display/typography/components/H2Title';
|
||||
import { Button } from '@/ui/input/button/components/Button';
|
||||
import { LightIconButton } from '@/ui/input/button/components/LightIconButton';
|
||||
import { SubMenuTopBarContainer } from '@/ui/layout/page/SubMenuTopBarContainer';
|
||||
import { Section } from '@/ui/layout/section/components/Section';
|
||||
import { Table } from '@/ui/layout/table/components/Table';
|
||||
@ -93,7 +94,9 @@ export const SettingsObjectNewFieldStep1 = () => {
|
||||
<SettingsObjectFieldItemTableRow
|
||||
key={fieldItem.id}
|
||||
fieldItem={fieldItem}
|
||||
ActionIcon={IconMinus}
|
||||
ActionIcon={
|
||||
<LightIconButton Icon={IconMinus} accent="tertiary" />
|
||||
}
|
||||
/>
|
||||
))}
|
||||
</TableSection>
|
||||
@ -104,7 +107,9 @@ export const SettingsObjectNewFieldStep1 = () => {
|
||||
<SettingsObjectFieldItemTableRow
|
||||
key={fieldItem.name}
|
||||
fieldItem={fieldItem}
|
||||
ActionIcon={IconPlus}
|
||||
ActionIcon={
|
||||
<LightIconButton Icon={IconPlus} accent="tertiary" />
|
||||
}
|
||||
/>
|
||||
))}
|
||||
</TableSection>
|
||||
|
||||
Reference in New Issue
Block a user