Skip to content

Commit

Permalink
Check if active_shift is null instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
vincevd1 committed Oct 28, 2024
1 parent 87ccf59 commit 417e669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h1 class="mt-5">No player for this venue</h1>
}).then(active_shift => {
this.active_shift = active_shift;

if (this.active_shift !== 0) {
if (this.active_shift !== null) {
document.getElementById('player-container').style.display = 'none';

fetch(
Expand Down

0 comments on commit 417e669

Please sign in to comment.