X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FGeneric.vue;h=08bd3f6bf0ab3db2f1851bcfaaf949763f49387b;hb=90d6bc67c0cabf9950a21e798af5e2cf604541e7;hp=627bcdef9983a46b0e2c1b6f06a7c627a293db27;hpb=23eb5b3fb7c9de2a370475f6131af7c96efe495c;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/Generic.vue b/src/components/services/Generic.vue index 627bcde..08bd3f6 100644 --- a/src/components/services/Generic.vue +++ b/src/components/services/Generic.vue @@ -1,15 +1,3 @@ - - - */ - - - - - - + @@ -27,12 +15,14 @@ export default {}; - + {{ item.name }} - {{ item.subtitle }} + + {{ item.subtitle }} + @@ -50,11 +40,23 @@ export default { props: { item: Object, }, + computed: { + mediaClass: function () { + return { media: true, "no-subtitle": !this.item.subtitle }; + }, + }, };
{{ item.name }}
{{ item.subtitle }}
+ {{ item.subtitle }} +