File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public function getTitle(): string
7070
7171 public function getBreadcrumb (): string
7272 {
73+ //TODO fix
7374 return flexiblePagesTrans ('menu_items.manage.breadcrumb ' );
7475 }
7576
@@ -87,9 +88,11 @@ public static function getInfolistColumns(): array
8788 {
8889 return [
8990 IconEntry::make ('is_visible ' )
90- ->icon (fn (bool $ state ): string => $ state ? '' : 'heroicon-o-eye-slash ' )
91+ ->label ('' )
92+ ->icon (fn (bool $ state ): string => $ state ? 'heroicon-o-eye ' : 'heroicon-o-eye-slash ' )
9193 ->color (fn (bool $ state ): string => $ state ? 'gray ' : 'warning ' )
9294 ->tooltip (fn (bool $ state ): ?string => $ state ? null : flexiblePagesTrans ('menu_items.status.hidden ' ))
95+ ->hidden (fn (bool $ state ): bool => $ state )
9396 ->size ('sm ' ),
9497 ];
9598 }
You can’t perform that action at this time.
0 commit comments