feat: add action text to confirmation dialogs

This commit is contained in:
puriphatt 2025-01-08 10:48:33 +07:00
parent 99d2f0da42
commit 8dd36cbc64
3 changed files with 4 additions and 0 deletions

View file

@ -705,6 +705,7 @@ watch([currentFormData.value.taskStatus], () => {
@click="
dialogWarningClose($t, {
message: $t('dialog.message.confirmSending'),
actionText: $t('dialog.action.ok'),
action: async () => {
await sendTask();
},