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')"
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user