Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
Fix hide all issue
Browse files Browse the repository at this point in the history
The event type could be null
  • Loading branch information
casperboone committed Apr 20, 2021
1 parent e499943 commit ee9a8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/StreamOutput/StreamOutput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
mounted() {
Echo.channel('stream-output').listen('StreamOutputHasChanged', event =>
event.type.startsWith('voteCountdown')
event.type && event.type.startsWith('voteCountdown')
? this.handleVoteCountdownEvent(event)
: this.handleOutputChangeEvent(event)
)
Expand Down

0 comments on commit ee9a8e8

Please sign in to comment.