mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +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);
|
||||
const filteredContextFields = contextFields.filter((field) =>
|
||||
featureStrategies.some((strategy) =>
|
||||
featureStrategies.some(
|
||||
(strategy) =>
|
||||
strategy.parameters.stickiness === field.name ||
|
||||
strategy.constraints.some(
|
||||
(constraint) => constraint.contextName === field.name,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user