This commit is contained in:
Tiago Vasconcelos
2026-03-19 09:48:45 +00:00
parent b9d00d900e
commit d621a6f81f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ window.app.component('lnbits-dialog', {
},
persistent: {
type: Boolean,
default: true
default: false
},
showCancel: {
type: Boolean,
@@ -46,6 +46,7 @@ window.app.component('lnbits-dialog', {
actionProps() {
const action = this.action || {}
return {
icon: action.icon || null,
label: action.label || 'Action',
color: action.color || 'primary',
loading: !!action.loading,
@@ -28,13 +28,13 @@
flat
:color="cancelColor"
:label="cancelLabel"
@click="handleCancel"
></q-btn>
<q-space></q-space>
<q-btn
v-if="hasAction"
:icon="actionProps.icon"
:color="actionProps.color"
:label="actionProps.label"
:loading="actionProps.loading"