fix: Associated segment overrides #2582
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingChanges
Associated segment overrides were not updating when switching environments
![image](https://private-user-images.githubusercontent.com/8608314/258441166-3df49e5f-48cf-4115-9ad9-76a627048f3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTc3MTAsIm5iZiI6MTczOTM1NzQxMCwicGF0aCI6Ii84NjA4MzE0LzI1ODQ0MTE2Ni0zZGY0OWU1Zi00OGNmLTQxMTUtOWFkOS03NmE2MjcwNDhmM2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTA1MDEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTk2NmU1YjI0ZTcxOTM0ODQxYzMxODE5ZTY5ZjJkYTU4M2RiZWU1NWQ1ZDNlMjI0ZTU4YmE4YzlkZDQ1YTkyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.09Uc60luGh1wz0g97n8LyZqr8ZkZHwyg8DpKoQL-DGs)
How did you test this code?
Segments > Segment > Feature > Adjust environment and see new overrides