diff --git a/src/DebugBar/JavascriptRenderer.php b/src/DebugBar/JavascriptRenderer.php index bfbcd15..747d001 100644 --- a/src/DebugBar/JavascriptRenderer.php +++ b/src/DebugBar/JavascriptRenderer.php @@ -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);