diff --git a/code/Controller/AssetAdmin.php b/code/Controller/AssetAdmin.php index 3e92dc32b..618c3139f 100644 --- a/code/Controller/AssetAdmin.php +++ b/code/Controller/AssetAdmin.php @@ -62,7 +62,7 @@ class AssetAdmin extends AssetAdminOpen implements PermissionProvider private static $menu_icon_class = 'font-icon-image'; - private static $tree_class = Folder::class; + private static $model_class = Folder::class; private static $url_handlers = [ // Legacy redirect for SS3-style detail view diff --git a/code/Controller/AssetAdminOpen.php b/code/Controller/AssetAdminOpen.php index 54522e29f..d17ebcfb7 100644 --- a/code/Controller/AssetAdminOpen.php +++ b/code/Controller/AssetAdminOpen.php @@ -37,7 +37,7 @@ class AssetAdminOpen extends LeftAndMain private static string $menu_icon_class = 'font-icon-image'; - private static string $tree_class = Folder::class; + private static string $model_class = Folder::class; private static array $url_handlers = [ 'GET api/read/$ID!' => 'apiRead',