Handle null returnValue in clickButton call

This commit is contained in:
filtered
2025-09-14 06:02:10 +10:00
parent 39ff48240a
commit f320b76f0c

View File

@@ -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>