diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue index e5a896fa..6ca0b39d 100644 --- a/src/components/ConnectivityChecker.vue +++ b/src/components/ConnectivityChecker.vue @@ -2,11 +2,14 @@

- Network unreachable + Network unreachable

- More information → + More information →

diff --git a/src/components/DarkMode.vue b/src/components/DarkMode.vue index e0330e37..14404af1 100644 --- a/src/components/DarkMode.vue +++ b/src/components/DarkMode.vue @@ -18,7 +18,7 @@ export default { props: { defaultValue: String, }, - emits: ['updated'], + emits: ["updated"], data: function () { return { isDark: null, diff --git a/src/components/Message.vue b/src/components/Message.vue index cf5188a5..ce8f7e35 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue @@ -73,7 +73,7 @@ export default { return; } return response.json(); - } + }, ); }, diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 574be207..d3612300 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -52,7 +52,7 @@ export default { }, links: Array, }, - emits: ['navbar-toggle'], + emits: ["navbar-toggle"], computed: { showMenu: function () { return this.open && this.isSmallScreen(); diff --git a/src/components/services/FreshRSS.vue b/src/components/services/FreshRSS.vue index 4ffa0a48..e8265fa4 100644 --- a/src/components/services/FreshRSS.vue +++ b/src/components/services/FreshRSS.vue @@ -2,20 +2,27 @@ - + - + \ No newline at end of file + diff --git a/src/components/services/Generic.vue b/src/components/services/Generic.vue index c95e3194..9b673103 100644 --- a/src/components/services/Generic.vue +++ b/src/components/services/Generic.vue @@ -20,16 +20,21 @@

{{ item.name }}

@@ -92,5 +97,4 @@ a[href=""] { pointer-events: all; } } - diff --git a/src/components/services/Glances.vue b/src/components/services/Glances.vue index fb2c6ad1..92eaf109 100644 --- a/src/components/services/Glances.vue +++ b/src/components/services/Glances.vue @@ -5,8 +5,9 @@

@@ -18,7 +19,6 @@ import service from "@/mixins/service.js"; import Generic from "./Generic.vue"; - export default { name: "Glances", components: { @@ -48,25 +48,25 @@ export default { label: "System load", icon: "fa-solid fa-bolt", unit: "%", - } + }; this.stats["cpu"] = { value: response.cpu, label: `CPU usage (${response.cpu_name})`, icon: "fa-solid fa-microchip", unit: "%", - } + }; this.stats["mem"] = { value: response.mem, label: `RAM usage`, icon: "fa-solid fa-memory", unit: "%", - } + }; this.stats["swap"] = { value: response.swap, label: `Swap usage`, icon: "fa-solid fa-file-arrow-down", unit: "%", - } + }; }) .catch((e) => { console.log(e); diff --git a/src/components/services/Gotify.vue b/src/components/services/Gotify.vue index 16a8717d..161d6486 100644 --- a/src/components/services/Gotify.vue +++ b/src/components/services/Gotify.vue @@ -31,7 +31,7 @@ export default { item: Object, }, data: () => ({ - health: {}, + health: {}, messages: 0, }), computed: { @@ -45,7 +45,7 @@ export default { } return "green"; - } + }, }, created() { this.fetchStatus(); @@ -55,7 +55,7 @@ export default { fetchStatus: async function () { await this.fetch(`/health`) .catch((e) => console.log(e)) - .then((resp) => this.health = resp); + .then((resp) => (this.health = resp)); }, fetchMessages: async function () { const headers = { @@ -63,7 +63,7 @@ export default { }; await this.fetch(`/message?limit=100`, { headers }) .catch((e) => console.log(e)) - .then((resp) => this.messages = resp.messages.length); + .then((resp) => (this.messages = resp.messages.length)); }, }, }; diff --git a/src/components/services/Mealie.vue b/src/components/services/Mealie.vue index 0df8c17e..8b1e2123 100644 --- a/src/components/services/Mealie.vue +++ b/src/components/services/Mealie.vue @@ -46,7 +46,7 @@ export default { return `Happily keeping ${this.stats.totalRecipes} recipes organized`; } return null; - } + }, }, created() { this.fetchStatus(); @@ -60,9 +60,9 @@ export default { if (this.item.subtitle != null) return; - this.meal = await this.fetch("/api/groups/mealplans/today", { headers }).catch( - (e) => console.log(e), - ); + this.meal = await this.fetch("/api/groups/mealplans/today", { + headers, + }).catch((e) => console.log(e)); this.stats = await this.fetch("/api/admin/about/statistics", { headers, }).catch((e) => console.log(e)); diff --git a/src/components/services/Nextcloud.vue b/src/components/services/Nextcloud.vue index 4086bc3c..ac732f56 100644 --- a/src/components/services/Nextcloud.vue +++ b/src/components/services/Nextcloud.vue @@ -3,9 +3,7 @@