mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +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],
|
||||
);
|
||||
|
||||
return (
|
||||
<ActionContextNoRerender>
|
||||
<zIndexContext.Provider value={zIndex}>
|
||||
@ -129,7 +128,7 @@ export const InternalActionDrawer: React.FC<ActionDrawerProps> = observer(
|
||||
<Drawer
|
||||
zIndex={zIndex}
|
||||
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}
|
||||
{...drawerProps}
|
||||
rootStyle={rootStyle}
|
||||
|
Loading…
x
Reference in New Issue
Block a user