π 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 image widget update cache (#2151)
Alicia Sykes14d755f328ee
diff --git a/src/components/Widgets/ImageWidget.vue b/src/components/Widgets/ImageWidget.vueindex a80407b7..8586a911 100644--- a/src/components/Widgets/ImageWidget.vue+++ b/src/components/Widgets/ImageWidget.vue@@ -40,7 +40,9 @@ export default {},/* Generate a URL param, to be updated in order to re-fetch image */updatePathParam() {- return this.updateCount ? `#dashy-update-${this.updateCount}` : '';+ if (!this.updateCount || !this.options.imagePath) return '';+ const separator = this.options.imagePath.includes('?') ? '&' : '?';+ return `${separator}dashy-update=${this.updateCount}`;},},methods: {