Explorar el Código

show badge title

padre
commit
a0aa96a18c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Models/Project.php

+ 1
- 1
app/Models/Project.php Ver fichero

@@ -114,7 +114,7 @@ class Project extends Model
114 114
                 foreach($badgesData as $badge){
115 115
                     $badges[] = [
116 116
                         "imgUrl" => $badge->imgUrlLink,
117
-                        "name" => null,
117
+                        "name" => $badge->getTranslation("title", $locale),
118 118
                         "awardDate" => null
119 119
                     ];
120 120
                 }