TSK-1414: Fix exceptions in Kanban (#3119)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-05-02 14:37:34 +07:00
committed by GitHub
parent 439f4bbd6c
commit afea88fc3b
5 changed files with 12 additions and 8 deletions
@@ -114,8 +114,12 @@
$: buildModel({ client, _class, keys: config, lookup }).then((res) => {
itemModels = res
res.forEach((m) => {
const key = `list_item_${m.props?.listProps.key}`
if (m.props?.listProps?.fixed) $fixedWidthStore[key] = 0
if (m.props?.listProps?.key !== undefined) {
const key = `list_item_${m.props.listProps.key}`
if (m.props.listProps.fixed) {
$fixedWidthStore[key] = 0
}
}
})
})