X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FGeneric.vue;h=af65a8c6ad8580f496906b53891e47035b58afca;hb=23990e85090b425e98e563e2e390044d0695c19d;hp=f19ee1830ffefca885751a861ece2f48c7aab6a7;hpb=5b727eee020b9d734f60fd37f840ea47f83fb23e;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/Generic.vue b/src/components/services/Generic.vue index f19ee18..af65a8c 100644 --- a/src/components/services/Generic.vue +++ b/src/components/services/Generic.vue @@ -1,35 +1,34 @@ - - - */ - - - - - - + - - - - - - - - - - - + + + + + + + + + + + + + - {{ item.name }} - {{ item.subtitle }} + + {{ item.name }} + + {{ item.subtitle }} + + + #{{ item.tag }} @@ -46,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 }} +