cleanup: remove logs

This commit is contained in:
Liyas Thomas
2021-05-15 06:47:13 +00:00
committed by GitHub
parent 8e3ecb4c25
commit 76866f78f0
13 changed files with 5 additions and 45 deletions

View File

@@ -73,7 +73,6 @@ export default {
methods: {
deleteTeam() {
if (!confirm("Are you sure you want to remove this team?")) return
console.log("deleteTeam", this.teamID)
// Call to the graphql mutation
team_utils
.deleteTeam(this.$apollo, this.teamID)
@@ -82,7 +81,6 @@ export default {
this.$toast.success(this.$t("new_team_created"), {
icon: "done",
})
console.log(data)
})
.catch((error) => {
// Error
@@ -94,7 +92,6 @@ export default {
},
exitTeam() {
if (!confirm("Are you sure you want to exit this team?")) return
console.log("leaveTeam", this.teamID)
team_utils
.exitTeam(this.$apollo, this.teamID)
.then((data) => {
@@ -102,7 +99,6 @@ export default {
this.$toast.success(this.$t("team_exited"), {
icon: "done",
})
console.log(data)
})
.catch((error) => {
// Error