Skip to content

Commit

Permalink
🐛 fix wrong MucBanner-type to style mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianWilms committed May 6, 2024
1 parent 1d6ace0 commit fda3988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Banner/MucBanner.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
component:
`A banner-component used for single-line informations. Available in multiple types.
[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-elements-bannerhttps://patternlab.muenchen.space/?p=viewall-elements-banner)
[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-elements-banner)
`
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Banner/MucBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const typeClass = computed(() => {
case "info":
return "m-banner--info";
case "warning":
return "m-banner--emergency";
case "emergency":
return "m-banner--warning";
case "emergency":
return "m-banner--emergency";
default:
return "m-banner--info";
}
Expand Down

0 comments on commit fda3988

Please sign in to comment.