lgtm code review suggestions
This commit is contained in:
@@ -43,7 +43,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { fb } from "~/helpers/fb"
|
|
||||||
import closeIcon from "~/static/icons/close-24px.svg?inline"
|
import closeIcon from "~/static/icons/close-24px.svg?inline"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async signInWithGoogle() {
|
async signInWithGoogle() {
|
||||||
try {
|
try {
|
||||||
const { additionUserInfo } = await fb.signInUserWithGoogle()
|
const { additionalUserInfo } = await fb.signInUserWithGoogle()
|
||||||
|
|
||||||
if (additionalUserInfo.isNewUser) {
|
if (additionalUserInfo.isNewUser) {
|
||||||
this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, {
|
this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user