Merge pull request #5608 from Bwin4L/master
Make the generated image count in desktop notifications only count new gens in the currently active tab
This commit is contained in:
commit
ca16278188
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ onUiUpdate(function(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const galleryPreviews = gradioApp().querySelectorAll('img.h-full.w-full.overflow-hidden');
|
const galleryPreviews = gradioApp().querySelectorAll('div[id^="tab_"][style*="display: block"] img.h-full.w-full.overflow-hidden');
|
||||||
|
|
||||||
if (galleryPreviews == null) return;
|
if (galleryPreviews == null) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue