mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-28 19:08:01 +00:00
TSK-1414: Fix exceptions in Kanban (#3119)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
439f4bbd6c
commit
afea88fc3b
@ -1 +1 @@
|
||||
{ "major": 0, "minor": 6, "patch": 78 }
|
||||
{"major":0,"minor":6,"patch":92}
|
@ -2,6 +2,6 @@
|
||||
const fill: string = 'currentColor'
|
||||
</script>
|
||||
|
||||
<svg width="1rem" height=".5rem" {fill} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8">
|
||||
<svg width="16" height="8" {fill} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8">
|
||||
<polygon points="8,3.4 4.7,6.7 11.3,6.7 " />
|
||||
</svg>
|
||||
|
@ -287,13 +287,13 @@
|
||||
<!-- {@const status = $statusStore.get(state._id)} -->
|
||||
{#key lth}
|
||||
<div
|
||||
style:--kanban-header-rgb-color={accentColors[index].backgroundColor ?? '175, 175, 175'}
|
||||
style:--kanban-header-rgb-color={accentColors[index]?.backgroundColor ?? '175, 175, 175'}
|
||||
class="header flex-row-center"
|
||||
class:gradient={!lth}
|
||||
>
|
||||
<span
|
||||
class="clear-mins fs-bold overflow-label pointer-events-none"
|
||||
style:color={accentColors[index].textColor ?? 'var(--theme-caption-color)'}
|
||||
style:color={accentColors[index]?.textColor ?? 'var(--theme-caption-color)'}
|
||||
>
|
||||
{#if groupByKey === noCategory}
|
||||
<Label label={view.string.NoGrouping} />
|
||||
|
@ -305,14 +305,14 @@
|
||||
<!-- {@const status = $statusStore.get(state._id)} -->
|
||||
{#key lth}
|
||||
<div
|
||||
style:--kanban-header-rgb-color={accentColors[index].backgroundColor ?? '175, 175, 175'}
|
||||
style:--kanban-header-rgb-color={accentColors[index]?.backgroundColor ?? '175, 175, 175'}
|
||||
class="header flex-between"
|
||||
class:gradient={!lth}
|
||||
>
|
||||
<div class="flex-row-center gap-1">
|
||||
<span
|
||||
class="clear-mins fs-bold overflow-label pointer-events-none"
|
||||
style:color={accentColors[index].textColor ?? 'var(--theme-caption-color)'}
|
||||
style:color={accentColors[index]?.textColor ?? 'var(--theme-caption-color)'}
|
||||
>
|
||||
{#if groupByKey === noCategory}
|
||||
<Label label={view.string.NoGrouping} />
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user