Browse Source

show badge title

parent
commit
a0aa96a18c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Models/Project.php

+ 1
- 1
app/Models/Project.php View File

@@ -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
                 }