Commit 6e242dcf authored by DMyTryC's avatar DMyTryC Committed by benjaminParisel

Adding an implementation for changing the status when the fragment status changes (#2566)

parent 6f8c960e
......@@ -50,7 +50,7 @@
* @return {Boolean}
*/
needSave(artifact) {
if (artifact && artifact.hasValidationError) {
if (artifact && artifact.hasValidationError !== undefined) {
artifact.hasValidationError = componentUtils.hasModalContainingModal(artifact);
}
return angular.toJson(artifact) !== this.lastSavedState;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment