{#if categories.length === 0} {:else} groupByKey === noCategory ? issues : getGroupByValues(groupByDocs, category)} {setGroupByValues} {getUpdateProps} {groupByDocs} on:obj-focus={(evt) => { listProvider.updateFocus(evt.detail) }} selection={listProvider.current($focusStore)} checked={$selection ?? []} on:check={(evt) => { listProvider.updateSelection(evt.detail.docs, evt.detail.value) }} on:contextmenu={(evt) => showMenu(evt.detail.evt, evt.detail.objects)} > {@const color = accentColors.get(`${index}${$themeStore.dark}${groupByKey}`)} {@const headerBGColor = color?.background ?? defaultBackground($themeStore.dark)} {#if groupByKey === noCategory} {:else if headerComponent} setAccentColor(index, ev)} /> {/if} {count} { showPopup(CreateIssue, { space: currentSpace, [groupByKey]: state._id }, 'top') }} /> {@const issue = toIssue(object)} {@const issueId = object._id} {@const reports = issue.reportedTime + (issue.childInfo ?? []).map((it) => it.reportedTime).reduce((a, b) => a + b, 0)} {@const estimations = (issue.childInfo ?? []).map((it) => it.estimation).reduce((a, b) => a + b, 0)} {#key issueId} { openDoc(hierarchy, issue) }} > {object.title} {#if enabledConfig(config, 'subIssues') && issue && issue.subIssues > 0} {/if} {#if enabledConfig(config, 'priority')} {/if} {#if enabledConfig(config, 'component')} {/if} {#if enabledConfig(config, 'dueDate')} {/if} {#if enabledConfig(config, 'labels')} { if (res.detail.full) fullFilled[issueId] = true }} /> {/if} {#if shouldShowFooter(config, reports, estimations, object)} {:else} {/if} {/key} {/if}