Fix navbar featurebase

This commit is contained in:
Julien Nahum 2024-06-03 12:14:14 +02:00
parent 32cda4be6b
commit af256bfccc
1 changed files with 2 additions and 2 deletions

View File

@ -337,14 +337,14 @@ export default {
)
},
hasNewChanges() {
if (import.meta.server) return false
if (import.meta.server || !window.Featurebase) return false
return window.Featurebase("unviewed_changelog_count") > 0
},
},
methods: {
openChangelog() {
if (import.meta.server) return
if (import.meta.server || !window.Featurebase) return
window.Featurebase("manually_open_changelog_popup")
},
async logout() {