mirror of
https://github.com/bitinflow/rerun-encoder.git
synced 2026-03-13 13:46:00 +00:00
Fix if credentials is empty
This commit is contained in:
@@ -109,6 +109,7 @@ const logout = () => {
|
||||
|
||||
const storageUpgradeRequired = computed(() => {
|
||||
if (!settings.value) return false
|
||||
if (!settings.value.credentials) return false
|
||||
// @ts-ignore
|
||||
return !settings.value.credentials.user.config.premium
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user