X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FAdGuardHome.vue;h=6ef530227cd5915edacab2e52526967e07404196;hb=551e32e2035c58dd1be0d5f57a648772819f66de;hp=3ce56dd662c23bdbbb54657c8ec6910647fdcb3a;hpb=2bd57d17fd5af26fd014b653ac97e58d2fc3c52b;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index 3ce56dd..6ef5302 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -11,14 +11,18 @@
- +

{{ item.name }}

{{ item.subtitle }}

-
+
{{ status.protection_enabled }}
@@ -47,9 +51,9 @@ export default { }, methods: { fetchStatus: async function () { - this.status = await fetch(`${this.item.url}/control/status`).then((response) => - response.json() - ); + this.status = await fetch( + `${this.item.url}/control/status` + ).then((response) => response.json()); }, }, };