mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-27 08:16:41 +01:00
fix preview/compile ajax calls
This commit is contained in:
@@ -2164,7 +2164,7 @@ class AdminController extends AdminBaseController
|
||||
}
|
||||
|
||||
$preview = $this->data['preview'] ?? false;
|
||||
$data = ['color_scheme' => $this->data['color_scheme'] ?? null];
|
||||
$data = ['color_scheme' => $this->data['whitebox']['color_scheme'] ?? null];
|
||||
|
||||
if ($preview) {
|
||||
// send through some tmp filenames
|
||||
|
||||
Reference in New Issue
Block a user