1
0
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:
erikn69
2025-02-18 03:21:45 -05:00
committed by GitHub
parent 917a032fba
commit a27cbd6bad

View File

@@ -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);