π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
ποΈ Removes note saying page reload needed, not anymore
Alicia Sykes2dcbdb96aa5f
diff --git a/src/components/Configuration/CustomCss.vue b/src/components/Configuration/CustomCss.vueindex 4721d1a5..da564bd5 100644--- a/src/components/Configuration/CustomCss.vue+++ b/src/components/Configuration/CustomCss.vue@@ -7,7 +7,7 @@<Button class="save-button" :click="save">{{ $t('config.css-save-btn') }}</Button><p class="quick-note"><b>{{ $t('config.css-note-label') }}:</b>- {{ $t('config.css-note-l1') }} {{ $t('config.css-note-l2') }} {{ $t('config.css-note-l3') }}+ {{ $t('config.css-note-l2') }} {{ $t('config.css-note-l3') }}</p></div><!-- Theme Selector -->@@ -64,7 +64,6 @@ export default {this.saveToBrowser(css);applyCustomCss(css);this.showSuccessMsg();- if (css === '') this.reloadPage();},/* Saves custom CSS to localStorage, scoped to the active page */saveToBrowser(css) {@@ -73,10 +72,6 @@ export default {localAppConfig.customCss = css;localStorage.setItem(key, JSON.stringify(localAppConfig));},- /* Reload the page (only called if removing styles) */- reloadPage() {- setTimeout(() => { location.reload(); }, 1500);- },/* Show success toast and lot update */showSuccessMsg() {this.$toast('Changes saved successfully');