Skip to content

Commit 1e02b4d

Browse files
committed
Remove parent field from page resource. Page hierarchy can be handled with the tree
1 parent 68ac9c5 commit 1e02b4d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Resources/PageResource.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@ protected static function getAdvancedTabFields(): array
173173
$gridFields[] = AuthorField::create();
174174
}
175175

176-
if ($config->isParentEnabled($modelClass)) {
177-
$gridFields[] = ParentField::create()
178-
->searchable(['title', 'code', 'slug', 'intro']);
179-
}
180-
181176
if ($config->isUndeletableEnabled($modelClass)) {
182177
$gridFields[] = UndeletableToggle::create();
183178
}

0 commit comments

Comments
 (0)