We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5987f7f commit d61599dCopy full SHA for d61599d
1 file changed
src/backend/src/utils/changes.utils.ts
@@ -46,6 +46,13 @@ export const createChange = (
46
wbsElementId,
47
detail: `Added ${nameOfField} "${newValue}"`
48
};
49
+ } else if (oldValue !== null && newValue == null) {
50
+ return {
51
+ changeRequestId: crId,
52
+ implementerId,
53
+ wbsElementId,
54
+ detail: `Deleted ${nameOfField} "${oldValue}"`
55
+ };
56
} else if (oldValue !== newValue) {
57
return {
58
changeRequestId: crId,
0 commit comments