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!

Merge branch 'master' of github.com:Lissy93/dashy into FEATURE/basic-widget-support

Alicia Sykes0b868af5bb25
diff --cc src/components/LinkItems/Section.vue
index ae87ba5d,01dc0cfc..6d230af6
--- a/src/components/LinkItems/Section.vue
+++ b/src/components/LinkItems/Section.vue
@@@ -202,15 -193,9 +202,15 @@@ export default
if (interval < 1) interval = 0;
return interval;
},
+ },
+ methods: {
+ /* Opens the iframe modal */
+ triggerModal(url) {
+ this.$refs[`iframeModal-${this.groupId}`].show(url);
+ },
/* Sorts items alphabetically using the title attribute */
sortAlphabetically(items) {
- return items.sort((a, b) => (a.title > b.title ? 1 : -1));
+ return items.sort((a, b) => (a.title.toLowerCase() > b.title.toLowerCase() ? 1 : -1));
},
/* Sorts items by most used to least used, based on click-count */
sortByMostUsed(items) {