Skip to content

Commit

Permalink
fix bug with demo banner
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattis committed Nov 21, 2024
1 parent 6ab61f0 commit b4a1a66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WebApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@
return window.cordova && typeof cordova === 'object'
},
showBanner () {
if (!this.serverMode) {
return false
}
return this.serverMode.toLowerCase() === 'demo' || this.serverMode.toLowerCase() === 'test'
},
},
Expand Down

0 comments on commit b4a1a66

Please sign in to comment.