mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(editor): add runtime type checks to database cell values (#10770)
This commit is contained in:
@@ -386,6 +386,9 @@ export async function initKanbanViewState(
|
||||
});
|
||||
config.columns.forEach(column => {
|
||||
const columnId = datasource.propertyAdd('end', column.type);
|
||||
if (!columnId) {
|
||||
return;
|
||||
}
|
||||
datasource.propertyNameSet(columnId, column.type);
|
||||
rowIds.forEach((rowId, index) => {
|
||||
const value = column.value?.[index];
|
||||
|
||||
Reference in New Issue
Block a user