]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/Service.vue
Extendable base service for easier development.
[github/bastienwirtz/homer.git] / src / components / Service.vue
index 868675957a201d59f24578e666cf2ecccf354469..39a9ac41e0df81855e4970f012d775eb2b09a398 100644 (file)
@@ -7,16 +7,13 @@ import Generic from "./services/Generic.vue";
 
 export default {
   name: "Service",
-  components: {
-    Generic,
-  },
   props: {
     item: Object,
   },
   computed: {
     component() {
       const type = this.item.type || "Generic";
-      if (type == "Generic") {
+      if (type === "Generic") {
         return Generic;
       }
       return () => import(`./services/${type}.vue`);