Skip to content

Commit dc99497

Browse files
committed
[O2B-1536] Drop lastEditedName in addNewEorReason
1 parent f522ff6 commit dc99497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/public/views/Runs/Details/RunDetailsModel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@ export class RunDetailsModel extends Observable {
238238
* @return {void}
239239
*/
240240
addNewEorReason() {
241-
const { category, title, description, lastEditedName } = this.newEorReason;
241+
const { category, title, description } = this.newEorReason;
242242
const reasonType = this._eorReasonTypes.match({
243243
Success: (eorReasonTypes) => eorReasonTypes
244244
.find((eorReasonType) => eorReasonType.category === category && eorReasonType.title === title),
245245
Other: () => null,
246246
});
247247

248248
if (reasonType) {
249-
this.runPatch.addEorReason({ reasonTypeId: reasonType.id, description, lastEditedName });
249+
this.runPatch.addEorReason({ reasonTypeId: reasonType.id, description });
250250
}
251251
}
252252

0 commit comments

Comments
 (0)