Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Fix duplication on teams folder creation
Andrew Bastin597fd2c6d1e7
diff --git a/components/collections/index.vue b/components/collections/index.vueindex 96e2036db..ec3e62a2f 100644--- a/components/collections/index.vue+++ b/components/collections/index.vue@@ -221,11 +221,17 @@ export default {return this.collectionsType.selectedTeam == undefined},result({ data }) {- this.teamCollections[this.collectionsType.selectedTeam.id].push({- id: data.teamCollectionAdded.id,- title: data.teamCollectionAdded.title,- __typename: data.teamCollectionAdded.__typename,- })+ console.log(data)++ if (data.teamCollectionAdded.parent == null) {+ debugger++ this.teamCollections[this.collectionsType.selectedTeam.id].push({+ id: data.teamCollectionAdded.id,+ title: data.teamCollectionAdded.title,+ __typename: data.teamCollectionAdded.__typename,+ })+ }},},teamsCollectionUpdated: {