diff --git a/packages/ui/src/components/ImportModal.vue b/packages/ui/src/components/ImportModal.vue index 23f42d2e..50146398 100644 --- a/packages/ui/src/components/ImportModal.vue +++ b/packages/ui/src/components/ImportModal.vue @@ -247,7 +247,14 @@ export default { if(this.importFrom === 'Postman URL') { const response = await fetch(this.urlToImport) json = await response.json() - collectionTree = await convertPostmanExportToRestfoxCollection(json, false, this.activeWorkspace._id) + + const { collection, plugins: newPlugins } = await convertPostmanExportToRestfoxCollection(json, false, this.activeWorkspace._id) + + collectionTree = collection + + if(newPlugins.length > 0) { + plugins = plugins.concat(newPlugins) + } } else if(this.importFrom === 'OpenAPI URL') { const response = await fetch(this.urlToImport) json = await response.text()