chore: move analytics to platform (#2960)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue"
|
||||
import { useI18n } from "@composables/i18n"
|
||||
import { initializeFirebase } from "~/helpers/fb"
|
||||
import { initializeApp } from "~/helpers/app"
|
||||
import { platform } from "~/platform"
|
||||
|
||||
export default defineComponent({
|
||||
@@ -25,7 +25,7 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
initializeFirebase()
|
||||
initializeApp()
|
||||
},
|
||||
async mounted() {
|
||||
this.signingInWithEmail = true
|
||||
|
||||
@@ -155,7 +155,7 @@ import {
|
||||
GetInviteDetailsQueryVariables,
|
||||
} from "~/helpers/backend/graphql"
|
||||
import { acceptTeamInvitation } from "~/helpers/backend/mutations/TeamInvitation"
|
||||
import { initializeFirebase } from "~/helpers/fb"
|
||||
import { initializeApp } from "~/helpers/app"
|
||||
import { platform } from "~/platform"
|
||||
import { onLoggedIn } from "@composables/auth"
|
||||
import { useReadonlyStream } from "@composables/stream"
|
||||
@@ -234,7 +234,7 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
initializeFirebase()
|
||||
initializeApp()
|
||||
},
|
||||
mounted() {
|
||||
if (typeof this.$route.query.id === "string") {
|
||||
|
||||
Reference in New Issue
Block a user