{#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 = getCurrentResolvedLocation() loc.fragment = undefined loc.query = undefined loc.path[2] = trackerId loc.path[3] = issue.space loc.path[4] = 'issues' navigate(loc) setFilters([filter]) } }} /> {/if}
{ closeTooltip() isCreating && subIssueEditorRef && subIssueEditorRef.scrollIntoView({ behavior: 'smooth' }) isCreating = true isCollapsed = false }} />
{#if hasSubIssues && viewOptions && viewlet} {#if !isCollapsed}
{/if} {/if}
{#if isCreating} {@const project = projects.get(issue.space)} {#if project !== undefined}
(isCreating = false)} />
{/if} {/if}