diff --git a/src/Concerns/HasNavGroupLabel.php b/src/Concerns/HasNavGroupLabel.php index 41d6b7b..d121ea5 100644 --- a/src/Concerns/HasNavGroupLabel.php +++ b/src/Concerns/HasNavGroupLabel.php @@ -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