Skip to content

Commit

Permalink
Fix the button size for the status button
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jul 22, 2024
1 parent 0eec5d0 commit 668ed78
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions panel/src/components/View/Buttons/StatusButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ export default {
inheritAttrs: false,
computed: {
button() {
return this.$helper.page.status.call(
this,
this.model.status,
!this.permissions.changeStatus || this.$panel.content.isLocked
);
return {
...this.$helper.page.status.call(
this,
this.model.status,
!this.permissions.changeStatus || this.$panel.content.isLocked
),
size: "sm"
};
},
model() {
return this.$panel.view.props.model;
Expand Down

0 comments on commit 668ed78

Please sign in to comment.