diff --git a/packages/hoppscotch-common/src/components/new-collections/rest/index.vue b/packages/hoppscotch-common/src/components/new-collections/rest/index.vue index 0b99a0416..b158b89fa 100644 --- a/packages/hoppscotch-common/src/components/new-collections/rest/index.vue +++ b/packages/hoppscotch-common/src/components/new-collections/rest/index.vue @@ -217,7 +217,7 @@ :label="t('add.new')" filled outline - @click="showModalAddRootCollection = true" + @click="addChildCollection(node.data.value.collectionID)" /> @@ -388,7 +388,7 @@ :label="t('add.new')" filled outline - @click="showModalAddRootCollection = true" + @click="addChildCollection(node.data.value.collectionID)" />