From 3e3f7e2f542c265480c42ac9962f0ee378fd8776 Mon Sep 17 00:00:00 2001 From: tofulm Date: Fri, 15 Apr 2022 10:21:16 +0200 Subject: [PATCH] On ajoute le pipeline qui permet de recharger automatiquement la ligne si on utilise les crayons --- gamutable_pipelines.php | 15 +++++++++++++++ paquet.xml | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gamutable_pipelines.php b/gamutable_pipelines.php index fd7375f..2737c19 100644 --- a/gamutable_pipelines.php +++ b/gamutable_pipelines.php @@ -39,3 +39,18 @@ function gamutable_affichage_final($flux) { } return $flux; } + + +/** + * injection du reload de vuejs pour les crayons de l'objet souscription + * + */ +function gamutable_crayons_vue_affichage_final($flux){ + $id = $flux['args']['id']; + if ($id = intval($id)) { + $flux['data'] .= ' '; + } else { + $flux['data'] .= ' '; + } + return $flux; +} diff --git a/paquet.xml b/paquet.xml index 6b55cde..5ec006c 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ +