Skip to content

Commit

Permalink
Merge pull request #81 from nilsvannoort/fix-multiple-fields-delete-m…
Browse files Browse the repository at this point in the history
…odal

fix for modal not opening if multiple image fields on a nova resource
  • Loading branch information
ctessier committed May 28, 2022
2 parents a804596 + 253ba5e commit d1afebc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/js/field.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Cropper.js v1.5.11
* Cropper.js v1.5.12
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2021-02-17T11:53:27.572Z
* Date: 2021-06-12T08:00:17.411Z
*/

/*!
Expand All @@ -15,6 +15,8 @@
* @license MIT
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license
* Lodash <https://lodash.com/>
Expand Down
3 changes: 1 addition & 2 deletions resources/js/components/Image/ImageViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@
</Button>
</p>

<portal to="modals">
<portal v-if="removeModalOpen" to="modals">
<transition name="fade">
<confirm-upload-removal-modal
v-if="removeModalOpen"
@confirm="removeFile"
@close="closeRemoveModal"
/>
Expand Down

0 comments on commit d1afebc

Please sign in to comment.