Parcourir la source

:bug: capitalizing correctly

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

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

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

Chargement…
Annuler
Enregistrer