Initial Firebase refactor pass

This commit is contained in:
Andrew Bastin
2021-06-14 00:07:30 -04:00
parent ced2f1b911
commit 85c6932f8f
30 changed files with 979 additions and 1029 deletions

View File

@@ -1,6 +1,6 @@
<template>
<AppSection ref="sync" :label="$t('notes')" no-legend>
<div v-if="fb.currentUser">
<div v-if="currentUser">
<FirebaseInputform />
<FirebaseFeeds />
</div>
@@ -13,12 +13,16 @@
</template>
<script>
import { fb } from "~/helpers/fb"
import { currentUser$ } from "~/helpers/fb/auth"
export default {
subscriptions() {
return {
currentUser: currentUser$,
}
},
data() {
return {
fb,
showEmail: false,
}
},