mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide Alphapicker when not sorting alphabetically (movies
This commit is contained in:
parent
2ff95140bb
commit
8900da42d8
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ import 'emby-itemscontainer';
|
||||||
const updateFilterControls = () => {
|
const updateFilterControls = () => {
|
||||||
if (this.alphaPicker) {
|
if (this.alphaPicker) {
|
||||||
this.alphaPicker.value(query.NameStartsWithOrGreater);
|
this.alphaPicker.value(query.NameStartsWithOrGreater);
|
||||||
|
if (query.SortBy.indexOf('SortName') === 0) {
|
||||||
|
this.alphaPicker.visible(true);
|
||||||
|
} else {
|
||||||
|
this.alphaPicker.visible(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue