mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-23 09:41:48 +02:00
Fix defer data loading (#728)
This commit is contained in:
@@ -1148,6 +1148,7 @@ class JavascriptRenderer
|
||||
|
||||
$suffix = !$initialize ? '(ajax)' : null;
|
||||
if ($this->areDatasetsDeferred()) {
|
||||
$this->debugBar->getData();
|
||||
$js .= $this->getLoadDatasetCode($this->debugBar->getCurrentRequestId(), $suffix);
|
||||
} else {
|
||||
$js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
|
||||
|
Reference in New Issue
Block a user