We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 909ed3e commit bd3c38bCopy full SHA for bd3c38b
src/Resources/PageResource/Pages/ListPages.php
@@ -30,7 +30,7 @@ protected function getActions(): array
30
->icon('heroicon-o-arrow-turn-down-right')
31
->color('gray')
32
->visible(FilamentFlexibleContentBlockPages::config()->isParentAndPageTreeEnabled($this->getModel()))
33
- ->url(static::getResource()::getUrl('tree')),
+ ->url(fn() => FilamentFlexibleContentBlockPages::config()->isParentAndPageTreeEnabled($this->getModel()) ? static::getResource()::getUrl('tree') : null),
34
];
35
}
36
0 commit comments