diff options
Diffstat (limited to 'src/components/Service.vue')
-rw-r--r-- | src/components/Service.vue | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/Service.vue b/src/components/Service.vue index 8686759..39a9ac4 100644 --- a/src/components/Service.vue +++ b/src/components/Service.vue | |||
@@ -7,16 +7,13 @@ import Generic from "./services/Generic.vue"; | |||
7 | 7 | ||
8 | export default { | 8 | export default { |
9 | name: "Service", | 9 | name: "Service", |
10 | components: { | ||
11 | Generic, | ||
12 | }, | ||
13 | props: { | 10 | props: { |
14 | item: Object, | 11 | item: Object, |
15 | }, | 12 | }, |
16 | computed: { | 13 | computed: { |
17 | component() { | 14 | component() { |
18 | const type = this.item.type || "Generic"; | 15 | const type = this.item.type || "Generic"; |
19 | if (type == "Generic") { | 16 | if (type === "Generic") { |
20 | return Generic; | 17 | return Generic; |
21 | } | 18 | } |
22 | return () => import(`./services/${type}.vue`); | 19 | return () => import(`./services/${type}.vue`); |