Skip to content

EspoCRM – Open Source CRM Application

fix pipelines cache

Yurii6dd71c47d770
diff --git a/application/Espo/Tools/Pipeline/PipelineDataProvider.php b/application/Espo/Tools/Pipeline/PipelineDataProvider.php
index 2016a016cc..19852ff7d2 100644
--- a/application/Espo/Tools/Pipeline/PipelineDataProvider.php
+++ b/application/Espo/Tools/Pipeline/PipelineDataProvider.php
@@ -216,6 +216,7 @@ class PipelineDataProvider
'stages' => $this->serializeStages($pipeline->stages),
'isAvailableForAll' => $pipeline->isAvailableForAll,
'teamIds' => $pipeline->teamIds,
+ 'color' => $pipeline->color,
];
}
@@ -267,6 +268,7 @@ class PipelineDataProvider
'id' => $stage->id,
'name' => $stage->name,
'mappedStatus' => $stage->mappedStatus,
+ 'style' => $stage->style,
];
}