aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/notification.js
diff options
context:
space:
mode:
author不会画画的中医不是好程序员 <yfszzx@gmail.com>2022-10-13 23:35:07 +0000
committerGitHub <noreply@github.com>2022-10-13 23:35:07 +0000
commit7c8903367c350e7e3ba8f90679890566446f36b2 (patch)
treea949c12c2a93c4e20aff30adf4412a450f6b2b8e /javascript/notification.js
parenta1489f94283c07824a7a58353c03dc89541bbe49 (diff)
parent08b3f7aef15f74f4d2254b1274dd66fcc7940348 (diff)
downloadstable-diffusion-webui-gfx803-7c8903367c350e7e3ba8f90679890566446f36b2.tar.gz
stable-diffusion-webui-gfx803-7c8903367c350e7e3ba8f90679890566446f36b2.tar.bz2
stable-diffusion-webui-gfx803-7c8903367c350e7e3ba8f90679890566446f36b2.zip
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'javascript/notification.js')
-rw-r--r--javascript/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/notification.js b/javascript/notification.js
index bdf614ad..f96de313 100644
--- a/javascript/notification.js
+++ b/javascript/notification.js
@@ -36,7 +36,7 @@ onUiUpdate(function(){
const notification = new Notification(
'Stable Diffusion',
{
- body: `Generated ${imgs.size > 1 ? imgs.size - 1 : 1} image${imgs.size > 1 ? 's' : ''}`,
+ body: `Generated ${imgs.size > 1 ? imgs.size - opts.return_grid : 1} image${imgs.size > 1 ? 's' : ''}`,
icon: headImg,
image: headImg,
}