mirror of https://github.com/Lissy93/dashy.git
🔀 Merge pull request #1464 from CrazyWolf13/revert-1275-bug/1274-popup-modal-fix
Revert "bug #1274 multi page popup modal fix" Fixes #1375
This commit is contained in:
commit
644476cc5e
|
@ -74,8 +74,8 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- Modal for opening in modal view -->
|
<!-- Modal for opening in modal view -->
|
||||||
<IframeModal
|
<IframeModal
|
||||||
:ref="`iframeModal`"
|
:ref="`iframeModal-${groupId}`"
|
||||||
:name="`iframeModal`"
|
:name="`iframeModal-${groupId}`"
|
||||||
@closed="$emit('itemClicked')"
|
@closed="$emit('itemClicked')"
|
||||||
/>
|
/>
|
||||||
<!-- Edit item menu -->
|
<!-- Edit item menu -->
|
||||||
|
@ -213,7 +213,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
/* Opens the iframe modal */
|
/* Opens the iframe modal */
|
||||||
triggerModal(url) {
|
triggerModal(url) {
|
||||||
this.$refs.iframeModal.show(url);
|
this.$refs[`iframeModal-${this.groupId}`].show(url);
|
||||||
},
|
},
|
||||||
/* Sorts items alphabetically using the title attribute */
|
/* Sorts items alphabetically using the title attribute */
|
||||||
sortAlphabetically(items) {
|
sortAlphabetically(items) {
|
||||||
|
|
Loading…
Reference in New Issue