From 196649c0e90b1e7f8b56811443d19dcc1276f3b7 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 29 Sep 2022 13:55:09 +0530 Subject: [PATCH] Use the correct seed from the response --- ui/media/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/media/main.js b/ui/media/main.js index c42c2c80..12e8a417 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -268,7 +268,7 @@ function showImages(req, res, outputContainer, livePreview) { if(typeof res != 'object') return const imageData = result?.data || result?.path + '?t=' + new Date().getTime(), - imageSeed = req.seed, + imageSeed = result?.seed, imageWidth = req.width, imageHeight = req.height;