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(common): newly created folder not shown in save-as dialog (#6059)
lifd45903d2e536
diff --git a/packages/hoppscotch-common/src/services/team-collection.service.ts b/packages/hoppscotch-common/src/services/team-collection.service.tsindex 9daad0bba..1e1daaa0d 100644--- a/packages/hoppscotch-common/src/services/team-collection.service.ts+++ b/packages/hoppscotch-common/src/services/team-collection.service.ts@@ -294,7 +294,7 @@ export class TeamCollectionsService extends Service<void> {// Add to entity ids setthis.entityIDs.add(`collection-${collection.id}`)- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -386,7 +386,7 @@ export class TeamCollectionsService extends Service<void> {updateCollInTree(tree, collectionUpdate)- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -401,7 +401,7 @@ export class TeamCollectionsService extends Service<void> {this.entityIDs.delete(`collection-${collectionID}`)- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -428,7 +428,7 @@ export class TeamCollectionsService extends Service<void> {// Update the Entity IDs listthis.entityIDs.add(`request-${request.id}`)- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -447,7 +447,7 @@ export class TeamCollectionsService extends Service<void> {Object.assign(req, requestUpdate)- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -469,7 +469,7 @@ export class TeamCollectionsService extends Service<void> {this.entityIDs.delete(`request-${requestID}`)// Publish new tree- this.collections.value = tree+ this.collections.value = [...tree]}/**@@ -588,7 +588,7 @@ export class TeamCollectionsService extends Service<void> {this.reorderItems(collection.requests, requestIndex, destinationIndex)}- this.collections.value = tree+ this.collections.value = [...tree]}public updateCollectionOrder = (@@ -653,7 +653,7 @@ export class TeamCollectionsService extends Service<void> {}}- this.collections.value = tree+ this.collections.value = [...tree]}private registerSubscriptions() {