Skip to content

Commit 1d6a22e

Browse files
authored
fix(AfterBroadcastForm): shouldDeactivateRundown should be true when loop is _not_ running (#1504)
1 parent bf84734 commit 1d6a22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const DEFAULT_STATE = {
2929

3030
export function AfterBroadcastForm({ playlist }: Readonly<{ playlist: DBRundownPlaylist }>): JSX.Element {
3131
const { t } = useTranslation()
32-
const shouldDeactivateRundown = isLoopRunning(playlist)
32+
const shouldDeactivateRundown = !isLoopRunning(playlist)
3333
const [problems, setProblems] = useState<ProblemType>(DEFAULT_STATE.problems)
3434
const [description, setDescription] = useState<string[]>(DEFAULT_STATE.description.slice())
3535
const [userName, setUserName] = useState<string>(DEFAULT_STATE.userName)

0 commit comments

Comments
 (0)