X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcomponents%2Fservices%2FAdGuardHome.vue;h=6ef530227cd5915edacab2e52526967e07404196;hb=cc7ff885527283d97f32347210b0370e8477c4ff;hp=3ce56dd662c23bdbbb54657c8ec6910647fdcb3a;hpb=33750a4cbc96533b42627e10e7425a62dfe61c39;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()); }, }, };