mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
improve NeuxsWebGuard
This commit is contained in:
@@ -36,7 +36,7 @@ class Medal extends NexusModel
|
||||
|
||||
public function getGetTypeTextAttribute($value): string
|
||||
{
|
||||
return self::$getTypeText[$this->get_type]['text'] ?? '';
|
||||
return nexus_trans("medal.get_types." . $this->get_type);
|
||||
}
|
||||
|
||||
public function users(): \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
|
||||
Reference in New Issue
Block a user