Browse Source

add dynamic tags to news details page

Olivier Massot 1 year ago
parent
commit
438a8cfc55
1 changed files with 3 additions and 1 deletions
  1. 3 1
      components/News/Details.vue

+ 3 - 1
components/News/Details.vue

@@ -70,7 +70,9 @@
 
           <v-row class="d-flex justify-space-between mb-8 center-90">
             <p class="key-word mt-3">
-              ROCK CONCERT FESTIVAL
+              <span v-for="tag in newsItem.tags" class="mr-2">
+                {{ tag.name }}
+              </span>
             </p>
 
             <CommonShare />