mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: style issue in sub-table in detail block (#6049)
This commit is contained in:
parent
d5ba781d12
commit
87284d6409
@ -195,6 +195,7 @@ export const SubTable: any = observer(
|
||||
hideOnSinglePage: false,
|
||||
};
|
||||
}, [field.value?.length, pageSize, currentPage]);
|
||||
|
||||
return (
|
||||
<div className={subTableContainer}>
|
||||
<FlagProvider isInSubTable>
|
||||
@ -209,7 +210,8 @@ export const SubTable: any = observer(
|
||||
showIndex
|
||||
dragSort={false}
|
||||
showDel={
|
||||
allowAddnew !== false || allowSelectExistingRecord !== false || allowDisassociation !== false
|
||||
field.editable &&
|
||||
(allowAddnew !== false || allowSelectExistingRecord !== false || allowDisassociation !== false)
|
||||
? (record) => {
|
||||
if (!field.editable) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user