Skip to content

Commit c02fade

Browse files
author
Victoria Ivanova
committed
fix existing bug editing
1 parent 597310e commit c02fade

File tree

1 file changed

+4
-0
lines changed
  • frontend/src/pages/Report/components/Bug

1 file changed

+4
-0
lines changed

frontend/src/pages/Report/components/Bug/Bug.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ const Bug = ({ bug }: Props) => {
101101
field: BugResultTypes.RECEIVE,
102102
value,
103103
});
104+
} else {
105+
handleExistingBugChange(BugResultTypes.RECEIVE, value);
104106
}
105107
};
106108

@@ -111,6 +113,8 @@ const Bug = ({ bug }: Props) => {
111113
field: BugResultTypes.EXPECT,
112114
value,
113115
});
116+
} else {
117+
handleExistingBugChange(BugResultTypes.EXPECT, value);
114118
}
115119
};
116120

0 commit comments

Comments
 (0)