repatched flag again (peformance issues is only with home)

This commit is contained in:
2025-10-09 17:52:07 +02:00
parent fa432d3a42
commit 5974397cd4
3 changed files with 76 additions and 63 deletions

View File

@@ -104,7 +104,7 @@ class MaterioFlagActionsController extends ActionLinkController {
// $node = \Drupal::service('entity.repository')->loadEntityByUuid('node', $uuid);
// $nid = $node->id();
// call the parent flag function
$this->unflag($flag, $id, $flagcollid);
$this->unflag($flag, $id, 'default', $flagcollid);
// response
$data = [
'flag' => $flag->toArray(),