feat: show global envs on hover
This commit is contained in:
@@ -228,7 +228,7 @@ export default {
|
||||
text: this.$t("yes"),
|
||||
onClick: async (_, toastObject) => {
|
||||
const { user } = await signInWithGithub()
|
||||
await user.linkAndRetrieveDataWithCredential(pendingCred)
|
||||
await user.linkWithCredential(pendingCred)
|
||||
|
||||
this.showLoginSuccess()
|
||||
|
||||
@@ -236,6 +236,10 @@ export default {
|
||||
},
|
||||
},
|
||||
})
|
||||
} else {
|
||||
this.$toast.error(this.$t("error.something_went_wrong"), {
|
||||
icon: "error",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -304,8 +308,7 @@ export default {
|
||||
text: this.$t("yes"),
|
||||
onClick: async (_, toastObject) => {
|
||||
const { user } = await signInUserWithGoogle()
|
||||
// TODO: handle deprecation
|
||||
await user.linkAndRetrieveDataWithCredential(pendingCred)
|
||||
await user.linkWithCredential(pendingCred)
|
||||
|
||||
this.showLoginSuccess()
|
||||
|
||||
@@ -313,6 +316,10 @@ export default {
|
||||
},
|
||||
},
|
||||
})
|
||||
} else {
|
||||
this.$toast.error(this.$t("error.something_went_wrong"), {
|
||||
icon: "error",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user