mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -07:00
Fixed: Filter menu disabled when no items shown
This commit is contained in:
parent
b5ae7eed87
commit
0c7417ee91
2 changed files with 3 additions and 1 deletions
|
@ -216,7 +216,7 @@ class ArtistIndex extends Component {
|
||||||
|
|
||||||
const ViewComponent = getViewComponent(view);
|
const ViewComponent = getViewComponent(view);
|
||||||
const isLoaded = !error && isPopulated && !!items.length && contentBody;
|
const isLoaded = !error && isPopulated && !!items.length && contentBody;
|
||||||
const hasNoArtist = !items.length;
|
const hasNoArtist = !totalItems;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageContent>
|
<PageContent>
|
||||||
|
|
|
@ -16,4 +16,6 @@
|
||||||
|
|
||||||
.isDisabled {
|
.isDisabled {
|
||||||
color: $disabledColor;
|
color: $disabledColor;
|
||||||
|
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue