feat: settings page

This commit is contained in:
Liyas Thomas
2021-07-05 05:08:03 +00:00
committed by GitHub
parent ababd79da2
commit dc5a09bebc
7 changed files with 147 additions and 174 deletions

View File

@@ -5,22 +5,30 @@
label="Get Started"
@click.native="showLogin = true"
/>
<div v-if="currentBackendUser && currentBackendUser.eaInvited">
<Teams />
</div>
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
</div>
</template>
<script>
import { currentUser$ } from "~/helpers/fb/auth"
import { currentUserInfo$ } from "~/helpers/teams/BackendUserInfo"
export default {
data() {
return {
showLogin: false,
currentBackendUser: null,
}
},
subscriptions() {
return {
currentUser: currentUser$,
// Teams feature flag
currentBackendUser: currentUserInfo$,
}
},
}