mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide shuffle button if no results
This commit is contained in:
parent
e9bac09bd6
commit
5257e1ee1a
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ export default function (view, params, tabContent) {
|
|||
itemsContainer.innerHTML = html;
|
||||
imageLoader.lazyChildren(itemsContainer);
|
||||
libraryBrowser.saveQueryValues(getSavedQueryKey(page), query);
|
||||
|
||||
tabContent.querySelector('.btnShuffle').classList.toggle('hide', result.TotalRecordCount < 1);
|
||||
|
||||
loading.hide();
|
||||
isLoading = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue