Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
fix(modal): secondary action button kind (#1011)
Browse files Browse the repository at this point in the history
* fix(modal): secondary action button kind

* fix(modal): secondary action button kind
  • Loading branch information
juliodialpad authored Jun 9, 2023
1 parent 203fda4 commit 3f0717d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/modal/modal_default.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
/>
<div v-else>
<dt-button
:kind="secondaryButtonKind"
importance="clear"
>
Cancel
Expand Down Expand Up @@ -103,6 +104,10 @@ export default {
ariaLabel: 'Close',
};
},
secondaryButtonKind () {
return this.kind === 'danger' ? 'muted' : 'default';
},
},
watch: {
Expand Down

0 comments on commit 3f0717d

Please sign in to comment.