diff --git a/package.json b/package.json
index 0b0b1e2..1e572fb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@hoppscotch/ui",
- "version": "0.1.3",
+ "version": "0.1.4",
"license": "MIT",
"description": "Hoppscotch UI",
"author": "Hoppscotch (support@hoppscotch.io)",
diff --git a/src/components/smart/Tree.vue b/src/components/smart/Tree.vue
index a261f84..43fcada 100644
--- a/src/components/smart/Tree.vue
+++ b/src/components/smart/Tree.vue
@@ -50,7 +50,7 @@
diff --git a/src/components/smart/TreeBranch.vue b/src/components/smart/TreeBranch.vue
index 9992a42..ffb23a0 100644
--- a/src/components/smart/TreeBranch.vue
+++ b/src/components/smart/TreeBranch.vue
@@ -27,7 +27,7 @@
>
@@ -114,9 +114,7 @@ const highlightNode = ref(false)
/**
* Fetch the child nodes from the adapter by passing the node id of the current node
*/
-const childNodes = computed(
- () => props.adapter.getChildren(props.nodeItem.id).value,
-)
+const childNodes = props.adapter.getChildren(props.nodeItem.id, props.nodeItem.data.type)
const toggleNodeChildren = () => {
if (!childrenRendered.value) childrenRendered.value = true
diff --git a/src/helpers/treeAdapter.ts b/src/helpers/treeAdapter.ts
index 98e611c..9a7bf7b 100644
--- a/src/helpers/treeAdapter.ts
+++ b/src/helpers/treeAdapter.ts
@@ -28,7 +28,8 @@ export interface SmartTreeAdapter {
/**
*
* @param nodeID - id of the node to get children for
+ * @param nodeType - Type of the node (`collection` | `request`)
* @returns - Ref that contains the children of the node. It is reactive and will be updated when the children are changed.
*/
- getChildren: (nodeID: string | null) => Ref>
+ getChildren: (nodeID: string | null, nodeType?: string) => Ref>
}