🐛 Fixed sync toast prompt
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
|||||||
.signInWithPopup(provider)
|
.signInWithPopup(provider)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.additionalUserInfo.isNewUser) {
|
if (res.additionalUserInfo.isNewUser) {
|
||||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||||
icon: "sync",
|
icon: "sync",
|
||||||
duration: null,
|
duration: null,
|
||||||
closeOnSwipe: false,
|
closeOnSwipe: false,
|
||||||
@@ -88,7 +88,7 @@ export default {
|
|||||||
.signInWithPopup(provider)
|
.signInWithPopup(provider)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.additionalUserInfo.isNewUser) {
|
if (res.additionalUserInfo.isNewUser) {
|
||||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||||
icon: "sync",
|
icon: "sync",
|
||||||
duration: null,
|
duration: null,
|
||||||
closeOnSwipe: false,
|
closeOnSwipe: false,
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ export default {
|
|||||||
.signInWithPopup(provider)
|
.signInWithPopup(provider)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.additionalUserInfo.isNewUser) {
|
if (res.additionalUserInfo.isNewUser) {
|
||||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||||
icon: "sync",
|
icon: "sync",
|
||||||
duration: null,
|
duration: null,
|
||||||
closeOnSwipe: false,
|
closeOnSwipe: false,
|
||||||
@@ -427,7 +427,7 @@ export default {
|
|||||||
.signInWithPopup(provider)
|
.signInWithPopup(provider)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.additionalUserInfo.isNewUser) {
|
if (res.additionalUserInfo.isNewUser) {
|
||||||
this.$toast.info($t("turn_on") + " " + $t("sync"), {
|
this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), {
|
||||||
icon: "sync",
|
icon: "sync",
|
||||||
duration: null,
|
duration: null,
|
||||||
closeOnSwipe: false,
|
closeOnSwipe: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user