fix kirby issue

This commit is contained in:
Henry Jameson 2026-07-14 16:50:22 +03:00
commit fc21e4424b

View file

@ -104,8 +104,8 @@ const StatusActionButtons = {
}
},
doActionReal(button) {
button
.action?.(this.funcArg)
const promise = button.action?.(this.funcArg) ?? Promise.resolve()
promise
.then(() => this.$emit('onSuccess'))
.catch((err) => this.$emit('onError', err))
},