mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-27 16:26:32 +01:00
Inizial rework and implementation of parent field as finder
This commit is contained in:
@@ -1462,7 +1462,7 @@ class AdminController extends AdminBaseController
|
||||
}
|
||||
}
|
||||
|
||||
$response[$fileInfo->getFilename()] = $payload;
|
||||
$response[] = $payload;
|
||||
}
|
||||
} else {
|
||||
$msg = 'PLUGIN_ADMIN.PAGE_ROUTE_NOT_FOUND';
|
||||
@@ -1481,7 +1481,7 @@ class AdminController extends AdminBaseController
|
||||
$this->admin->json_response = [
|
||||
'status' => $status,
|
||||
'message' => $this->admin::translate($msg ?? 'PLUGIN_ADMIN.NO_ROUTE_PROVIDED'),
|
||||
'response' => $response
|
||||
'data' => $response
|
||||
];
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user