We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27223b5 commit b851d2cCopy full SHA for b851d2c
src/LiveComponent/src/EventListener/LiveComponentSubscriber.php
@@ -282,11 +282,11 @@ public function onKernelResponse(ResponseEvent $event): void
282
$request = $event->getRequest();
283
$response = $event->getResponse();
284
285
- if (!$this->isLiveComponentRequest($request)) {
+ if (!$event->isMainRequest()) {
286
return;
287
}
288
289
- if (!$event->isMainRequest()) {
+ if (!$this->isLiveComponentRequest($request)) {
290
291
292
0 commit comments