mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:25:52 +00:00
fix: allow table column title to be reset to default (#5439)
This commit is contained in:
parent
88b8782d11
commit
737aa11fc5
@ -66,7 +66,6 @@ export const tableColumnSettings = new SchemaSettings({
|
|||||||
},
|
},
|
||||||
} as ISchema,
|
} as ISchema,
|
||||||
onSubmit: ({ title }) => {
|
onSubmit: ({ title }) => {
|
||||||
if (title) {
|
|
||||||
field.title = title;
|
field.title = title;
|
||||||
columnSchema.title = title;
|
columnSchema.title = title;
|
||||||
dn.emit('patch', {
|
dn.emit('patch', {
|
||||||
@ -75,7 +74,7 @@ export const tableColumnSettings = new SchemaSettings({
|
|||||||
title: columnSchema.title,
|
title: columnSchema.title,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
|
||||||
dn.refresh();
|
dn.refresh();
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user