Skip to content

Commit

Permalink
Merge pull request #184 from ownego/hotfix/duplicate-class-in-label-c…
Browse files Browse the repository at this point in the history
…omponent

Hotfix: prevent duplicate class in Label component
  • Loading branch information
juzser authored Apr 25, 2023
2 parents 96d779f + 2b7c9e5 commit 1486b61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Labelled/Labelled.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ div(:class="className")
:id="id",
:requiredIndicator="requiredIndicator",
:hidden="false",
v-bind="$attrs",
)
slot(v-if="$slots.label", name="label")
template(v-else) {{ label }}
div(
v-if="action",
:class="styles.Action"
:class="styles.Action",
)
ButtonFrom(
:action="action",
Expand Down

0 comments on commit 1486b61

Please sign in to comment.