Fix navbar featurebase
This commit is contained in:
parent
32cda4be6b
commit
af256bfccc
|
|
@ -337,14 +337,14 @@ export default {
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
hasNewChanges() {
|
hasNewChanges() {
|
||||||
if (import.meta.server) return false
|
if (import.meta.server || !window.Featurebase) return false
|
||||||
return window.Featurebase("unviewed_changelog_count") > 0
|
return window.Featurebase("unviewed_changelog_count") > 0
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
openChangelog() {
|
openChangelog() {
|
||||||
if (import.meta.server) return
|
if (import.meta.server || !window.Featurebase) return
|
||||||
window.Featurebase("manually_open_changelog_popup")
|
window.Featurebase("manually_open_changelog_popup")
|
||||||
},
|
},
|
||||||
async logout() {
|
async logout() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue