Procházet zdrojové kódy

:bug: fixing breadcrumb link in card to point to exhibition and event sort-by | #114

tags/0.9.0
J před 4 roky
rodič
revize
c5c927c95f
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      vue-theme/src/components/card.vue

+ 3
- 1
vue-theme/src/components/card.vue Zobrazit soubor

@@ -1,7 +1,9 @@
1 1
 <template lang="pug">
2 2
 .card(v-if="content")
3 3
     header
4
-        router-link(v-if="!hideType" :to="`/${type}`")
4
+        router-link(v-if="!hideType && ['event','exhibition'].includes(type)" :to="`/${type}/by-current-and-upcoming`")
5
+            p.t-up {{type}}
6
+        router-link(v-else-if="!hideType" :to="`/${type}`")
5 7
             p.t-up {{type}}
6 8
     article.card--info(:class="{ 'wide': wide }")
7 9
         router-link(:to="`/${type}/${content.slug}`")

Načítá se…
Zrušit
Uložit