Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle title diffing correctly in strategy change diffs (#5971)
A strategy title can be either an empty string or undefined on the type we use in the frontend. In the snapshot it can be an empty string, null (presumably), and undefined. This change updates the diffing logic to handle the various title diff cases correctly. It also updates the type used for the snapshot to reflect this.
- Loading branch information
1 parent
5253482
commit 01a38be
Showing
3 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters