Skip to content

Commit

Permalink
Fix CollectionCreatorModal being reopened on selection after creating…
Browse files Browse the repository at this point in the history
… a collection

The CollectionCreatorModal.hideModal() function is only called on Cancel or when we explicitly set the prop hideModalOnCreate to true. If we don't set this prop, it leaves the `collectionModalShow` ref set to true as the event to change it to false never gets fired.
  • Loading branch information
davelopez committed Dec 6, 2024
1 parent ea0308c commit e017a72
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
:filter-text="filterText"
:selected-items="collectionSelection"
:show-modal.sync="collectionModalShow"
hide-modal-on-create
default-hide-source-items
@created-collection="createdCollection" />
</section>
Expand Down

0 comments on commit e017a72

Please sign in to comment.