From a7c12e61d80a3ce4c10cbc6da74eb44d679f7995 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 30 Aug 2023 19:32:29 +0530 Subject: [PATCH] Fix incorrect tiling message in the task info --- ui/media/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/media/js/main.js b/ui/media/js/main.js index cff8cb6c..d26fe0db 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -22,7 +22,8 @@ const taskConfigSetup = { }, tiling: { label: "Tiling", - visible: ({ reqBody }) => reqBody?.tiling != "none", + visible: ({ reqBody }) => + reqBody?.tiling != "none" && reqBody?.tiling !== null && reqBody?.tiling !== undefined, value: ({ reqBody }) => reqBody?.tiling, }, use_vae_model: {