mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-29 03:45:36 +01:00
no-results logic fix
This commit is contained in:
parent
600f00ea5e
commit
e34d1b5853
1 changed files with 2 additions and 2 deletions
|
|
@ -36,8 +36,8 @@
|
|||
@change-modal-visibility="updateModalVisibility"
|
||||
:isWide="!!singleSectionView || layoutOrientation === 'horizontal'"
|
||||
:class="(searchValue &&
|
||||
section.filteredItems.length === 0 &&
|
||||
(!section.widgets || section.widgets.length === 0)) ? 'no-results' : ''"
|
||||
(section.filteredItems.length === 0 &&
|
||||
section.filteredWidgets.length === 0)) ? 'no-results' : ''"
|
||||
/>
|
||||
</template>
|
||||
<!-- Show add new section button, in edit mode -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue