rconjoe/provana-mono

switch around dashboard stuff to make sense

Closed this issue · 0 comments

claims are now like this: type: 'creators' | 'supporters' so that way you can just get collection id's straight from this.$store.state.auth.claims.type.

move around dashboard components so that everyone always gets the links they are supposed to get in Dashboard.vue, then only handle the weird case for sellers where they are not onboarded with a extra component in Dashboard.vue that only shows when not onboarded

to tell if someone is onboarded, you can just look at their profile for the "onboarded" boolean. db.collection(this.$store.state.auth.claims.type).doc(this.$user.uid).get()

👍