{#if hasSubIssues}
{ isCollapsed = !isCollapsed isCreating = false }} >
{/if}
{#if viewlet && hasSubIssues && viewOptions}
{/if} {#if hasSubIssues}
{ const filter = createFilter(tracker.class.Issue, 'attachedTo', [issue._id]) if (filter !== undefined) { closeTooltip() const loc = getCurrentLocation() loc.fragment = undefined loc.query = undefined loc.path[2] = trackerId loc.path[3] = issue.space loc.path[4] = 'issues' navigate(loc) $filterStore = [filter] } }} /> {/if}
{ closeTooltip() isCreating && subIssueEditorRef && subIssueEditorRef.scrollIntoView({ behavior: 'smooth' }) isCreating = true isCollapsed = false }} />
{#if issueStatuses} {#if hasSubIssues && viewOptions && viewlet}
{/if}
{#if isCreating} {@const team = teams.get(issue.space)} {@const statuses = issueStatuses.get(issue.space)} {#if team !== undefined && statuses !== undefined}
(isCreating = false)} />
{/if} {/if}
{/if}