fix: empty state primary action for root collections

Ensure child collections are created instead of the action resulting in new root collections.
This commit is contained in:
jamesgeorge007
2024-05-20 13:52:24 +05:30
parent 86b17e2bd3
commit f4a37f19c9

View File

@@ -217,7 +217,7 @@
:label="t('add.new')"
filled
outline
@click="showModalAddRootCollection = true"
@click="addChildCollection(node.data.value.collectionID)"
/>
</template>
</HoppSmartPlaceholder>
@@ -388,7 +388,7 @@
:label="t('add.new')"
filled
outline
@click="showModalAddRootCollection = true"
@click="addChildCollection(node.data.value.collectionID)"
/>
</template>
</HoppSmartPlaceholder>