Parcourir la source

:bug: defining type from route

tags/0.9.0
J il y a 4 ans
Parent
révision
3c8a7d2d9e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      vue-theme/src/pages/list.vue

+ 2
- 1
vue-theme/src/pages/list.vue Voir le fichier

@@ -53,7 +53,8 @@ export default {
53 53
             return typeFromRoute(this.$route)
54 54
         },
55 55
         pType() {
56
-            return this.sortBy ? `${type.split('/')[0]}s` : `${type}s`
56
+            console.log(this.type)
57
+            return this.sortBy ? `${this.type.split('/')[0]}s` : `${this.type}s`
57 58
         },
58 59
         loaded() {
59 60
             if (!this.pType) return

Chargement…
Annuler
Enregistrer