π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Fixes section collapse for Chinese characters (#1822)
Alicia Sykesb8bdb0a49b07
diff --git a/src/mixins/HomeMixin.js b/src/mixins/HomeMixin.jsindex 4be0a96c..320c0689 100644--- a/src/mixins/HomeMixin.js+++ b/src/mixins/HomeMixin.js@@ -78,7 +78,7 @@ const HomeMixin = {/* Returns a unique ID based on the page and section name */makeSectionId(section) {const normalize = (str) => (- str ? str.trim().toLowerCase().replace(/[^a-zA-Z0-9]/g, '-')+ str ? str.trim().toLowerCase().replace(/[^\p{L}\p{N}]/gu, '-'): `unnamed-${(`000${Math.floor(Math.random() * 1000)}`).slice(-3)}`);return `${this.pageId || 'unknown-page'}-${normalize(section.name)}`;