Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyso authored and github-actions[bot] committed Mar 17, 2023
1 parent b2297c8 commit 9f2d2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasFieldLabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getLabel(): string
->kebab()
->replace(['-', '_'], ' ')
->ucfirst();

return (is_string($label) && $this->shouldTranslateLabel) ?
__($label) :
$label;
Expand Down

0 comments on commit 9f2d2cd

Please sign in to comment.