mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: workflow node edit drawer title shows [object Object] (#6648)
This commit is contained in:
parent
8c5edfc494
commit
9f8fb0e362
@ -121,7 +121,6 @@ export const InternalActionDrawer: React.FC<ActionDrawerProps> = observer(
|
|||||||
},
|
},
|
||||||
[footerNodeName],
|
[footerNodeName],
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ActionContextNoRerender>
|
<ActionContextNoRerender>
|
||||||
<zIndexContext.Provider value={zIndex}>
|
<zIndexContext.Provider value={zIndex}>
|
||||||
@ -129,7 +128,7 @@ export const InternalActionDrawer: React.FC<ActionDrawerProps> = observer(
|
|||||||
<Drawer
|
<Drawer
|
||||||
zIndex={zIndex}
|
zIndex={zIndex}
|
||||||
width={openSizeWidthMap.get(openSize)}
|
width={openSizeWidthMap.get(openSize)}
|
||||||
title={t(field.title, { ns: NAMESPACE_UI_SCHEMA })}
|
title={typeof field.title === 'string' ? t(field.title, { ns: NAMESPACE_UI_SCHEMA }) : field.title}
|
||||||
{...others}
|
{...others}
|
||||||
{...drawerProps}
|
{...drawerProps}
|
||||||
rootStyle={rootStyle}
|
rootStyle={rootStyle}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user