diff --git a/components/firebase/login.vue b/components/firebase/login.vue index 1cf1d8620..0f06d87b2 100644 --- a/components/firebase/login.vue +++ b/components/firebase/login.vue @@ -59,7 +59,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, @@ -88,7 +88,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, diff --git a/pages/settings.vue b/pages/settings.vue index 16048827e..c6160da37 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -398,7 +398,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false, @@ -427,7 +427,7 @@ export default { .signInWithPopup(provider) .then(res => { if (res.additionalUserInfo.isNewUser) { - this.$toast.info($t("turn_on") + " " + $t("sync"), { + this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { icon: "sync", duration: null, closeOnSwipe: false,