diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue index bebe988e7..312c93f86 100644 --- a/components/collections/ImportExport.vue +++ b/components/collections/ImportExport.vue @@ -369,7 +369,6 @@ export default { this.collectionsType.selectedTeam.id ) } - console.log(this.collectionJson) return this.collectionJson }, exportJSON() { diff --git a/components/collections/index.vue b/components/collections/index.vue index 201c32aea..f542f697b 100644 --- a/components/collections/index.vue +++ b/components/collections/index.vue @@ -281,9 +281,6 @@ export default { document.addEventListener("keydown", this._keyListener.bind(this)) this.$subscribeTo(this.teamCollectionAdapter.collections$, (colls) => { - console.log("new tree!") - console.log(colls) - this.teamCollectionsNew = cloneDeep(colls) }) }, @@ -564,7 +561,6 @@ export default { } }, expandCollection(collectionID) { - console.log(collectionID) this.teamCollectionAdapter.expandCollection(collectionID) }, removeCollection({ collectionsType, collectionIndex, collectionID }) { @@ -597,7 +593,6 @@ export default { this.$toast.success(this.$t("deleted"), { icon: "delete", }) - console.log(data) }) .catch((error) => { // Error diff --git a/components/collections/teams/Folder.vue b/components/collections/teams/Folder.vue index 237255f64..023d5e978 100644 --- a/components/collections/teams/Folder.vue +++ b/components/collections/teams/Folder.vue @@ -181,7 +181,6 @@ export default { this.$toast.success(this.$t("deleted"), { icon: "delete", }) - console.log(data) this.$emit("update-team-collections") this.confirmRemove = false }) diff --git a/components/teams/Add.vue b/components/teams/Add.vue index 28a987d29..404315b1f 100644 --- a/components/teams/Add.vue +++ b/components/teams/Add.vue @@ -56,7 +56,6 @@ export default { }, methods: { addNewTeam() { - console.log("addNewTeam start") // We save the user input in case of an error const name = this.name // We clear it early to give the UI a snappy feel @@ -65,7 +64,6 @@ export default { this.$toast.error(this.$t("string_length_insufficient"), { icon: "error", }) - console.log("String length less than 6") return } // Call to the graphql mutation @@ -74,7 +72,6 @@ export default { .then((data) => { // Result this.hideModal() - console.log(data) }) .catch((error) => { // Error diff --git a/components/teams/Edit.vue b/components/teams/Edit.vue index aafe300b7..618f3cbf2 100644 --- a/components/teams/Edit.vue +++ b/components/teams/Edit.vue @@ -184,7 +184,6 @@ export default { }, mounted() { this.membersAdapter.members$.subscribe((list) => { - console.log(list) this.members = cloneDeep(list) }) }, @@ -208,13 +207,11 @@ export default { }, methods: { updateRole(id, role) { - console.log(this.members, id) this.members[id].role = role }, addTeamMember() { let value = { key: "", value: "" } this.newMembers.push(value) - console.log("addTeamMember") }, removeExistingTeamMember(userID) { team_utils @@ -236,7 +233,6 @@ export default { }, removeTeamMember(index) { this.newMembers.splice(index, 1) - console.log("removeTeamMember") }, validateEmail(emailID) { if (/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(emailID)) { @@ -249,7 +245,6 @@ export default { this.$toast.error(this.$t("string_length_insufficient"), { icon: "error", }) - console.log("String length less than 6") return } this.$data.newMembers.forEach((element) => { @@ -257,7 +252,6 @@ export default { this.$toast.error(this.$t("invalid_emailID_format"), { icon: "error", }) - console.log("Email id format invalid") return } }) diff --git a/components/teams/ImportExport.vue b/components/teams/ImportExport.vue index d17a69c68..f532a742b 100644 --- a/components/teams/ImportExport.vue +++ b/components/teams/ImportExport.vue @@ -111,7 +111,6 @@ export default { } reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0]) this.fileImported() - this.syncToFBTeams() }, importFromJSON() { let reader = new FileReader() @@ -125,7 +124,6 @@ export default { } } reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0]) - this.syncToFBTeams() }, importFromPostwoman(teams) { let confirmation = this.$t("file_imported") @@ -160,9 +158,6 @@ export default { syncTeams() { this.fileImported() }, - syncToFBTeams() { - console.log("syncToFBTeams") - }, fileImported() { this.$toast.info(this.$t("file_imported"), { icon: "folder_shared", diff --git a/components/teams/Team.vue b/components/teams/Team.vue index 87afd52a2..5a9f8069f 100644 --- a/components/teams/Team.vue +++ b/components/teams/Team.vue @@ -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 diff --git a/components/teams/index.vue b/components/teams/index.vue index ede3d5ee4..87d68550a 100644 --- a/components/teams/index.vue +++ b/components/teams/index.vue @@ -135,17 +135,13 @@ export default { this.showModalImportExport = shouldDisplay }, editTeam(team, teamID) { - console.log("editTeamStart", team) this.editingTeam = team this.editingteamID = team.id this.displayModalEdit(true) - this.syncTeams() }, resetSelectedData() { - console.log("resetSelectedData") - }, - syncTeams() { - console.log("syncTeams") + this.$data.editingTeam = undefined + this.$data.editingteamID = undefined }, }, beforeDestroy() { diff --git a/helpers/apollo.ts b/helpers/apollo.ts index d4cfdb978..be574f855 100644 --- a/helpers/apollo.ts +++ b/helpers/apollo.ts @@ -8,8 +8,6 @@ let authToken: String | null = null export function registerApolloAuthUpdate() { fb.idToken$.subscribe((token: String | null) => { - console.log(token, "from sub") - authToken = token }) } @@ -18,8 +16,6 @@ export function registerApolloAuthUpdate() { * Injects auth token if available */ const authLink = setContext((_, { headers }) => { - console.log(authToken) - if (authToken) { return { headers: { diff --git a/helpers/teams/BackendUserInfo.ts b/helpers/teams/BackendUserInfo.ts index 71c197224..2c42d1398 100644 --- a/helpers/teams/BackendUserInfo.ts +++ b/helpers/teams/BackendUserInfo.ts @@ -44,12 +44,10 @@ export const currentUserInfo$ = new BehaviorSubject(null) */ export async function initUserInfo() { await updateUserInfo() - console.log("updated") fb.idToken$.subscribe((token) => { if (token) { updateUserInfo() - console.log(token, "updateUserInfo") } else { currentUserInfo$.next(null) } @@ -75,8 +73,6 @@ async function updateUserInfo() { `, }) - console.log(data) - currentUserInfo$.next({ uid: data.me.uid, displayName: data.me.displayName, diff --git a/helpers/teams/TeamMemberAdapter.ts b/helpers/teams/TeamMemberAdapter.ts index 058f5e0e9..0eebf4a79 100644 --- a/helpers/teams/TeamMemberAdapter.ts +++ b/helpers/teams/TeamMemberAdapter.ts @@ -104,8 +104,6 @@ export default class TeamMemberAdapter { }, }) .subscribe(({ data }) => { - console.log(data) - this.members$.next( this.members$.value.filter((el) => el.user.uid !== data.teamMemberRemoved) ) diff --git a/helpers/teams/utils.js b/helpers/teams/utils.js index fa6467c9d..e284d5261 100644 --- a/helpers/teams/utils.js +++ b/helpers/teams/utils.js @@ -52,7 +52,6 @@ export async function getLiveTeamMembersList(apollo, teamID) { }, }) .subscribe(({ data }) => { - console.log(data) subject.next([...subject.value, data.teamMemberAdded]) }) diff --git a/pages/graphql.vue b/pages/graphql.vue index e8625e712..9e7a41385 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -595,9 +595,9 @@ export default { } this.showSaveRequestModal = true }, - useSelectedEnvironment(event) { - console.log("use selected environment") - }, + // useSelectedEnvironment(event) { + // console.log("use selected environment") + // }, handleUseHistory(entry) { this.url = entry.url this.headers = entry.headers