From a37347620bf78a48cc9b3b016d3520e176c9f975 Mon Sep 17 00:00:00 2001 From: Solomon Cammack Date: Fri, 8 Apr 2022 22:07:42 +0100 Subject: [PATCH] Fix bugged break info screen --- website/src/components/broadcast/OtherBroadcasts.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/broadcast/OtherBroadcasts.vue b/website/src/components/broadcast/OtherBroadcasts.vue index 51602695..4f181400 100644 --- a/website/src/components/broadcast/OtherBroadcasts.vue +++ b/website/src/components/broadcast/OtherBroadcasts.vue @@ -50,7 +50,7 @@ export default { }), other_broadcasts: ReactiveArray("other_broadcasts", { live_match: ReactiveThing("live_match", { - casters: ReactiveArray(""), + casters: ReactiveArray("casters"), teams: ReactiveArray("teams", { theme: ReactiveThing("theme") }) @@ -59,7 +59,7 @@ export default { })({ broadcast: this.startingBroadcast.id }); }, broadcasts() { - if (!this.broadcast) return []; + if (!this.broadcast?.other_broadcasts?.length) return []; return [ this.broadcast, ...(this.broadcast?.other_broadcasts || [])