mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: also export context fields used for stickiness (#3106)
This commit is contained in:
parent
cc1f09952b
commit
8e38ebf1a7
@ -107,7 +107,9 @@ export default class ExportImportService {
|
|||||||
]);
|
]);
|
||||||
this.addSegmentsToStrategies(featureStrategies, strategySegments);
|
this.addSegmentsToStrategies(featureStrategies, strategySegments);
|
||||||
const filteredContextFields = contextFields.filter((field) =>
|
const filteredContextFields = contextFields.filter((field) =>
|
||||||
featureStrategies.some((strategy) =>
|
featureStrategies.some(
|
||||||
|
(strategy) =>
|
||||||
|
strategy.parameters.stickiness === field.name ||
|
||||||
strategy.constraints.some(
|
strategy.constraints.some(
|
||||||
(constraint) => constraint.contextName === field.name,
|
(constraint) => constraint.contextName === field.name,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user