fix: missing button icon (#3832)
* refactor: action icon
* Revert "refactor: action icon (#3831)"
This reverts commit c8e334d8ab
.
* refactor: action icon
This commit is contained in:
parent
c8e334d8ab
commit
78697e02be
@ -191,6 +191,7 @@ export const authenticatorsSchema: ISchema = {
|
|||||||
title: '{{t("Delete")}}',
|
title: '{{t("Delete")}}',
|
||||||
'x-component': 'Action',
|
'x-component': 'Action',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
|
icon: 'DeleteOutlined',
|
||||||
useAction: '{{ cm.useBulkDestroyAction }}',
|
useAction: '{{ cm.useBulkDestroyAction }}',
|
||||||
confirm: {
|
confirm: {
|
||||||
title: "{{t('Delete')}}",
|
title: "{{t('Delete')}}",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { PlusOutlined } from '@ant-design/icons';
|
import { PlusOutlined, DownOutlined } from '@ant-design/icons';
|
||||||
import { uid } from '@formily/shared';
|
import { uid } from '@formily/shared';
|
||||||
import { ActionContext, SchemaComponent, useCompile, usePlugin, useRecord } from '@nocobase/client';
|
import { ActionContext, SchemaComponent, useCompile, usePlugin, useRecord } from '@nocobase/client';
|
||||||
import { Button, Card, Dropdown } from 'antd';
|
import { Button, Card, Dropdown } from 'antd';
|
||||||
@ -73,7 +73,7 @@ export const CreateStorage = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button type={'primary'} icon={<PlusOutlined />}>
|
<Button type={'primary'} icon={<PlusOutlined />}>
|
||||||
{t('Add new')}
|
{t('Add new')} <DownOutlined />
|
||||||
</Button>
|
</Button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
<SchemaComponent scope={{ createOnly: true }} schema={schema} />
|
<SchemaComponent scope={{ createOnly: true }} schema={schema} />
|
||||||
|
Loading…
Reference in New Issue
Block a user