Hide subissues button if not exist (#2671)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-02-21 14:22:49 +06:00 committed by GitHub
parent 7befac7d55
commit 117f9f291a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@
{#if viewlet && hasSubIssues && viewOptions}
<ViewletSettingButton bind:viewOptions {viewlet} kind={'transparent'} />
{/if}
{#if hasSubIssues}
<Button
width="min-content"
icon={IconScaleFull}
@ -131,6 +132,7 @@
}
}}
/>
{/if}
<Button
id="add-sub-issue"
width="min-content"