]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Apply lint fix
authorBastien Wirtz <bastien.wirtz@gmail.com>
Tue, 8 Dec 2020 06:53:55 +0000 (22:53 -0800)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Tue, 8 Dec 2020 06:53:55 +0000 (22:53 -0800)
src/components/services/AdGuardHome.vue

index 3ce56dd662c23bdbbb54657c8ec6910647fdcb3a..9c6eb34f550f1b937b9c671f59a9600dfdd87b1b 100644 (file)
               <p class="title is-4">{{ item.name }}</p>
               <p class="subtitle is-6">{{ item.subtitle }}</p>
             </div>
-            <div v-if="status" class="status" v-bind:class="status.protection_enabled ? 'enabled' : 'disabled'">
+            <div
+              v-if="status"
+              class="status"
+              v-bind:class="status.protection_enabled ? 'enabled' : 'disabled'"
+            >
               {{ status.protection_enabled }}
             </div>
           </div>
@@ -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());
     },
   },
 };