style(front): dangerous button modal confirm button default dangerous color

This commit is contained in:
ArneBo 2025-02-14 01:09:51 +01:00
parent 86d8315108
commit 28fee830b1
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const confirm = () => {
</div>
<template #actions>
<Button
v-bind="{[{success: 'primary', danger: 'destructive'}[confirmColor || 'success']]: true}"
v-bind="{[{success: 'primary', danger: 'destructive'}[confirmColor || 'danger']]: true}"
@click="confirm"
>
<slot name="modal-confirm">