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:
@@ -217,7 +217,7 @@
|
|||||||
:label="t('add.new')"
|
:label="t('add.new')"
|
||||||
filled
|
filled
|
||||||
outline
|
outline
|
||||||
@click="showModalAddRootCollection = true"
|
@click="addChildCollection(node.data.value.collectionID)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</HoppSmartPlaceholder>
|
</HoppSmartPlaceholder>
|
||||||
@@ -388,7 +388,7 @@
|
|||||||
:label="t('add.new')"
|
:label="t('add.new')"
|
||||||
filled
|
filled
|
||||||
outline
|
outline
|
||||||
@click="showModalAddRootCollection = true"
|
@click="addChildCollection(node.data.value.collectionID)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</HoppSmartPlaceholder>
|
</HoppSmartPlaceholder>
|
||||||
|
|||||||
Reference in New Issue
Block a user