Skip to content

Commit 6f84b35

Browse files
authored
SOF-7449: do not reset context isEdited state in MethodDataContextMixin (#107)
* SOF-7449: do not reset context isEdited state * SOF-7449: bump eslint and related packages * SOF-7449: refactor * SOF-7449: update esse * SOF-7449: update esse * SOF-7449: update esse * SOF-7449: update python package * SOF-7449: update esse with published version
1 parent e8d06dc commit 6f84b35

File tree

5 files changed

+773
-1487
lines changed

5 files changed

+773
-1487
lines changed

dist/js/context/mixins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function MethodDataContextMixin(superclass) {
112112
super(...params);
113113
const config = params[0];
114114
this._methodData = (config.context && config.context.methodData) || {};
115-
this.isEdited = false; // we always get the `defaultData` (recalculated from scratch, not persistent)
115+
this.isEdited = Boolean(config.isEdited);
116116
}
117117
/* @summary Replace the logic in constructor with this in order to enable passing `methodDataHash` between
118118
* subsequent initializations of the derived class. Not used at present and kept for the record.

0 commit comments

Comments
 (0)