diff --git a/libs/components/editor-core/src/kanban/atom.ts b/libs/components/editor-core/src/kanban/atom.ts index 1e8b10606e..86858a559e 100644 --- a/libs/components/editor-core/src/kanban/atom.ts +++ b/libs/components/editor-core/src/kanban/atom.ts @@ -57,18 +57,13 @@ const isValueBelongOption = ( option: KanbanGroup ) => { switch (propertyValue.type) { - case PropertyType.Select || PropertyType.Status: { + case PropertyType.Select: + case PropertyType.Status: { return propertyValue.value === option.id; } case PropertyType.MultiSelect: { return propertyValue.value.some(i => i === option.id); } - // case PropertyType.Status: { - // return propertyValue.value === option.id; - // } - // case PropertyType.Text: { - // TOTODO:DO support this type - // } default: { console.error(propertyValue, option); throw new Error('Not support group by type');