Pārlūkot izejas kodu

show badge title

CodeCommitAccess+1-at-632418466995 4 mēnešus atpakaļ
vecāks
revīzija
a0aa96a18c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      app/Models/Project.php

+ 1
- 1
app/Models/Project.php Parādīt failu

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