mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
cmdk: hide empty groups
This commit is contained in:
parent
39252bd455
commit
dd4e7fa109
@ -167,7 +167,10 @@
|
||||
<ul class="command-pallete-content-container flex-auto overflow-y-auto pb-2">
|
||||
{#each $commandGroups as group, groupIdx}
|
||||
{#await group then group}
|
||||
<li class="w-full cursor-default select-none px-2">
|
||||
<li
|
||||
class="w-full cursor-default select-none px-2"
|
||||
class:hidden={group.commands.length === 0}
|
||||
>
|
||||
<header class="command-palette-section-header result-section-header">
|
||||
<span>{group.title}</span>
|
||||
{#if group.description}
|
||||
|
Loading…
Reference in New Issue
Block a user