Skip to content

Commit 29a0493

Browse files
committed
fix: add default mode to button options in Dialog component
1 parent a24e519 commit 29a0493

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

adminforth/spa/src/afcl/Dialog.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
v-bind="button.options"
5050
:class="{ 'ms-3': buttonIndex > 0 }"
5151
@click="button.onclick(dialog)"
52+
:mode="button.options?.mode || 'primary'"
5253
>
5354
{{ button.label }}
5455
</Button>

0 commit comments

Comments
 (0)