Don't show "Filter" button when no branhes (#4093)

This commit is contained in:
Pavel Laptev 2024-06-16 15:19:32 +02:00 committed by GitHub
parent 81f683777e
commit c83dec6bca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,7 @@
<Badge {count} />
{/if}
</div>
{#if count && count > 0}
<div class="header__filter-btn" bind:this={filterButton}>
<Button
style="ghost"
@ -40,6 +41,7 @@
<slot name="context-menu" {visible} />
</div>
</div>
{/if}
</div>
<style lang="postcss">