Skip to content

Commit

Permalink
Minor text and style updates to break modal
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Jan 25, 2023
1 parent 2ed8f0b commit 7736050
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="break-display-modal">
<div v-b-modal.break-display>
<b-button size="sm" :class="{ active: broadcast && broadcast.break_display }" :variant="broadcast && broadcast.break_display ? 'primary' : ''">
<b-button size="sm" :class="{ active: automationIsActive }" :variant="automationIsActive ? 'primary' : ''">
<DashboardModalIcon/> {{ autoText }}
</b-button>
</div>
Expand All @@ -12,8 +12,7 @@

<template v-slot:modal-footer>
<div v-if="selectedTab === 'Display'" class="w-100 flex-center text-center">
These settings will change the break scene's display instantly.<br>
Make sure that your show is ready for these graphics to appear.
These buttons will change the break scene's display instantly.
</div>
</template>
</b-modal>
Expand Down Expand Up @@ -43,6 +42,9 @@ export default {
computed: {
autoText() {
return this.broadcast?.break_display ? `Display: ${this.broadcast.break_display}` : "Display";
},
automationIsActive() {
return this.broadcast?.break_display === "Automated";
}
}
};
Expand Down

0 comments on commit 7736050

Please sign in to comment.