Skip to content

Commit 7274b8c

Browse files
committed
fix: make reset and activate primary button
1 parent 8087506 commit 7274b8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/webui/src/client/ui/RundownView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -753,19 +753,19 @@ const RundownHeader = withTranslation()(
753753
doModalDialog({
754754
title: 'Activate "On Air"',
755755
message: t('The planned end time has passed, are you sure you want to activate this Rundown?'),
756-
yes: 'Activate "On Air"',
756+
yes: 'Reset and Activate "On Air"',
757757
actions: [
758758
{
759-
label: 'Reset and Activate "On Air"',
759+
label: 'Activate "On Air"',
760760
classNames: 'btn-secondary',
761761
on: () => {
762-
doActivateAndReset()
762+
doActivate() // this one activates without resetting
763763
},
764764
},
765765
],
766766
acceptOnly: false,
767767
onAccept: () => {
768-
doActivate() // this one should activate without resetting
768+
doActivateAndReset()
769769
},
770770
})
771771
}

0 commit comments

Comments
 (0)