Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Revert "bug #1274 multi page popup modal fix"

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