mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-06 18:49:59 +02:00
remove accordion from table/grid config
This commit is contained in:
@@ -24,7 +24,6 @@ import {
|
||||
useSettingsStore,
|
||||
useSettingsStoreActions,
|
||||
} from '/@/renderer/store';
|
||||
import { Accordion } from '/@/shared/components/accordion/accordion';
|
||||
import { ActionIcon, ActionIconGroup } from '/@/shared/components/action-icon/action-icon';
|
||||
import { Badge } from '/@/shared/components/badge/badge';
|
||||
import { Checkbox } from '/@/shared/components/checkbox/checkbox';
|
||||
@@ -284,25 +283,7 @@ export const GridConfig = ({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Accordion
|
||||
styles={{
|
||||
control: { padding: '0' },
|
||||
item: { border: 'none' },
|
||||
}}
|
||||
>
|
||||
<Accordion.Item value="grid">
|
||||
<Accordion.Control>
|
||||
<Text size="sm">
|
||||
{t('table.config.general.advancedSettings', {
|
||||
postProcess: 'sentenceCase',
|
||||
})}
|
||||
</Text>
|
||||
</Accordion.Control>
|
||||
<Accordion.Panel>
|
||||
<ListConfigTable options={options} />
|
||||
</Accordion.Panel>
|
||||
</Accordion.Item>
|
||||
</Accordion>
|
||||
<ListConfigTable options={options} />
|
||||
<Divider />
|
||||
<GridRowConfig
|
||||
data={gridRowsData}
|
||||
|
||||
Reference in New Issue
Block a user