diff --git a/src/App.vue b/src/App.vue index 01c22c8..6349d15 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,6 +33,7 @@ provide('firebaseAuthUI', firebaseAuthUI) watch( [activeNotesSource, encryptionKey], () => { + console.log(activeNotesSource.value) if (activeNotesSource.value === 'firebase') { getClientKey() getEncryptionKey() @@ -51,7 +52,7 @@ const submitPassphrase = (close: () => void) => { if (passphraseValid.value) close() } -const loading = computed(() => notes.value.length === 0 || passphraseRequired.value) +const loading = computed(() => notes.value.length === 0 || passphraseRequired.value || !activeNotesSource.value) provide('loading', loading) @@ -100,14 +101,14 @@ provide('loading', loading)