From c3749c68370a94eb8033df8b225b6e516a99bd9c Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 14:09:42 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20lint=20warn,=20single?= =?UTF-8?q?=20quotes=20in=20clock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Widgets/Clock.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/Clock.vue b/src/components/Widgets/Clock.vue index 9b238f45..f7a22bd1 100644 --- a/src/components/Widgets/Clock.vue +++ b/src/components/Widgets/Clock.vue @@ -40,7 +40,7 @@ export default { return !this.options.hideSeconds; }, use12Hour() { - if (typeof this.options.use12Hour === "boolean") return this.options.use12Hour; + if (typeof this.options.use12Hour === 'boolean') return this.options.use12Hour; // this is the default, it gets computed by the DateTimeFormat implementation return Intl.DateTimeFormat(this.timeFormat, { timeZone: this.timeZone, hour: 'numeric' }).resolvedOptions().hour12 ?? false; }, From 743232e59741e4837aa33c7f27204254592267ca Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 14:10:08 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20lint=20warn,=20indenta?= =?UTF-8?q?tion=20in=20Mvg=20widget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Widgets/Mvg.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Widgets/Mvg.vue b/src/components/Widgets/Mvg.vue index 166eed00..62a45bc6 100644 --- a/src/components/Widgets/Mvg.vue +++ b/src/components/Widgets/Mvg.vue @@ -23,7 +23,7 @@ :class="{cancelled: departure.cancelled}">{{ departure.destination }} {{ Math.max(0, + >{{ Math.max(0, (departure.realtimeDepartureTime - departure.plannedDepartureTime)/60000) }} Date: Sun, 26 Feb 2023 14:13:59 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=90=9B=20Fix=20most-used=20/=20last-u?= =?UTF-8?q?sed=20storage=20(#1056,=20#1033)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/ItemMixin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mixins/ItemMixin.js b/src/mixins/ItemMixin.js index 83113752..35518ff4 100644 --- a/src/mixins/ItemMixin.js +++ b/src/mixins/ItemMixin.js @@ -157,8 +157,8 @@ export default { this.$emit('itemClicked'); // Update the most/ last used ledger, for smart-sorting if (!this.appConfig.disableSmartSort) { - this.incrementMostUsedCount(this.id); - this.incrementLastUsedCount(this.id); + this.incrementMostUsedCount(this.item.id); + this.incrementLastUsedCount(this.item.id); } }, /* Open item, using specified method */