Skip to content

Commit

Permalink
Merge pull request #22 from lara-zeus/fix
Browse files Browse the repository at this point in the history
Update HasNavGroupLabel.php
  • Loading branch information
atmonshi authored Apr 14, 2024
2 parents ad73f6f + 1f856a8 commit f389e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasNavGroupLabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function navigationGroupLabel(Closure | array $resources): static

public function getNavigationGroupLabel(): Closure | array
{
return $this->navigationGroupLabel;
return $this->evaluate($this->navigationGroupLabel);
}

public function getLabel(string $resource): Closure | string
Expand Down

0 comments on commit f389e23

Please sign in to comment.