From c3c76dffe8922181295018aac863f1c87665b518 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Thu, 21 Mar 2024 21:25:51 +0000 Subject: [PATCH] dialog fix --- web/scripts/ui/components/asyncDialog.js | 2 +- web/style.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/scripts/ui/components/asyncDialog.js b/web/scripts/ui/components/asyncDialog.js index ed800cc8a..1a03e8827 100644 --- a/web/scripts/ui/components/asyncDialog.js +++ b/web/scripts/ui/components/asyncDialog.js @@ -7,7 +7,7 @@ export class ComfyAsyncDialog extends ComfyDialog { constructor(actions) { super( "dialog.comfy-dialog", - actions.map((opt) => { + actions?.map((opt) => { if (typeof opt === "string") { opt = { text: opt }; } diff --git a/web/style.css b/web/style.css index 09eece1ac..e86d692bf 100644 --- a/web/style.css +++ b/web/style.css @@ -381,7 +381,6 @@ dialog::backdrop { } .comfy-dialog.comfy-modal { - top: 0; font-family: Arial, sans-serif; border-color: var(--bg-color); box-shadow: none;