refactor(plugin-workflow): show header of manual drawer (#3085)
This commit is contained in:
parent
771ebaaaec
commit
2630f25e51
@ -19,6 +19,7 @@ import {
|
|||||||
SchemaInitializerProvider,
|
SchemaInitializerProvider,
|
||||||
SchemaSettings,
|
SchemaSettings,
|
||||||
VariableScopeProvider,
|
VariableScopeProvider,
|
||||||
|
css,
|
||||||
gridRowColWrap,
|
gridRowColWrap,
|
||||||
useCollectionManager,
|
useCollectionManager,
|
||||||
useCompile,
|
useCompile,
|
||||||
@ -411,11 +412,15 @@ export function SchemaConfig({ value, onChange }) {
|
|||||||
properties: {
|
properties: {
|
||||||
drawer: {
|
drawer: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
title: '{{t("Configure form")}}',
|
title: `{{t("User interface", { ns: "${NAMESPACE}" })}}`,
|
||||||
'x-decorator': 'Form',
|
'x-decorator': 'Form',
|
||||||
'x-component': 'Action.Drawer',
|
'x-component': 'Action.Drawer',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
className: 'nb-action-popup',
|
className: css`
|
||||||
|
.ant-drawer-body {
|
||||||
|
background: var(--nb-box-bg);
|
||||||
|
}
|
||||||
|
`,
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
tabs: {
|
tabs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user