From 1f856a8a74986af4f8a0879342613a39eb277b69 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 14 Apr 2024 19:08:55 +0300 Subject: [PATCH] Update HasNavGroupLabel.php --- src/Concerns/HasNavGroupLabel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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