screen search text
This commit is contained in:
parent
c11cd9c3e2
commit
67d5eef293
|
@ -85,6 +85,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div on:scroll={handleScroll} bind:this={screensContainer} class="content">
|
||||
{#if filteredScreens?.length}
|
||||
{#each filteredScreens as screen (screen._id)}
|
||||
<NavItem
|
||||
icon={screen.routing.homeScreen ? "Home" : null}
|
||||
|
@ -102,14 +103,14 @@
|
|||
</div>
|
||||
</NavItem>
|
||||
{/each}
|
||||
</div>
|
||||
{#if !filteredScreens?.length}
|
||||
<Layout paddingY="" paddingX="L">
|
||||
{:else}
|
||||
<Layout paddingY="L" paddingX="L">
|
||||
<Body size="S">
|
||||
There aren't any screens matching the current filters
|
||||
</Body>
|
||||
</Layout>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="newScreen" class:newScreenVisible={newScreen}>
|
||||
|
|
Loading…
Reference in New Issue