1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-12 22:49:15 +00:00

fix: longtext saved auto close (#6676)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇 2024-08-30 11:26:18 +08:00 committed by GitHub
parent 38c5efe7c0
commit c06d51a596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,8 +151,7 @@ class PopupEditorContainer extends React.Component {
} else if (columnType === CellType.MULTIPLE_SELECT) {
updated[columnKey] = newValue[columnKey] ? getColumnOptionNamesByIds(column, newValue[columnKey]) : [];
}
this.commitData(updated, true);
this.commitData(updated, columnType !== CellType.LONG_TEXT);
};
// This is the updated data obtained by manually clicking the button