mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Show fingerprints when 0 scens (#6316)
This commit is contained in:
parent
d10995302d
commit
a8bb9ae4d3
2 changed files with 5 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ const SceneList: React.FC<{
|
||||||
}> = ({ scenes, filter, selectedIds, onSelectChange, fromGroupId }) => {
|
}> = ({ scenes, filter, selectedIds, onSelectChange, fromGroupId }) => {
|
||||||
const queue = useMemo(() => SceneQueue.fromListFilterModel(filter), [filter]);
|
const queue = useMemo(() => SceneQueue.fromListFilterModel(filter), [filter]);
|
||||||
|
|
||||||
if (scenes.length === 0) {
|
if (scenes.length === 0 && filter.displayMode !== DisplayMode.Tagger) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -211,6 +211,10 @@ export const Tagger: React.FC<ITaggerProps> = ({ scenes, queue }) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (scenes.length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (loadingMulti) {
|
if (loadingMulti) {
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue