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