mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
Handle null returnValue in clickButton call
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
class="first:mr-auto"
|
||||
:label="button.label"
|
||||
:severity="button.severity ?? 'secondary'"
|
||||
@click="electronAPI().Dialog.clickButton(button.returnValue)"
|
||||
@click="electronAPI().Dialog.clickButton(button.returnValue ?? '')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user