diff --git a/src/components/settings/General.vue b/src/components/settings/General.vue index bfc651e27..919044880 100644 --- a/src/components/settings/General.vue +++ b/src/components/settings/General.vue @@ -335,6 +335,7 @@ export default { */ saveGeneral() { localStorage.timezone = this.$root.userTimezone; + this.$root.use12HourTimeFormat = this.settings.use12HourTimeFormat; this.saveSettings(); }, /** diff --git a/src/pages/DashboardHome.vue b/src/pages/DashboardHome.vue index 5f6d2fb1a..6e0bfbe86 100644 --- a/src/pages/DashboardHome.vue +++ b/src/pages/DashboardHome.vue @@ -113,8 +113,11 @@ export default { }, }, - mounted() { + created() { this.loadSettings(); + }, + + mounted() { this.getImportantHeartbeatListLength(); this.$root.emitter.on("newImportantHeartbeat", this.onNewImportantHeartbeat); diff --git a/src/pages/Details.vue b/src/pages/Details.vue index 8b6352634..b49f352dc 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -413,8 +413,11 @@ export default { }, }, - mounted() { + created() { this.loadSettings(); + }, + + mounted() { this.getImportantHeartbeatListLength(); this.$root.emitter.on("newImportantHeartbeat", this.onNewImportantHeartbeat);