Merge pull request #1275 from ThinkSalat/bug/1274-popup-modal-fix

bug #1274 multi page popup modal fix
This commit is contained in:
Alicia Sykes 2023-11-03 21:21:40 +00:00 committed by GitHub
commit d2e49494ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,8 @@
</div>
<!-- Modal for opening in modal view -->
<IframeModal
:ref="`iframeModal-${groupId}`"
:name="`iframeModal-${groupId}`"
:ref="`iframeModal`"
:name="`iframeModal`"
@closed="$emit('itemClicked')"
/>
<!-- Edit item menu -->
@ -213,7 +213,7 @@ export default {
methods: {
/* Opens the iframe modal */
triggerModal(url) {
this.$refs[`iframeModal-${this.groupId}`].show(url);
this.$refs.iframeModal.show(url);
},
/* Sorts items alphabetically using the title attribute */
sortAlphabetically(items) {