From f411187c380596ba9152f2d0b919d3cd39ea39ee Mon Sep 17 00:00:00 2001 From: Piyush Singhania Date: Mon, 15 Nov 2021 18:00:34 +0530 Subject: [PATCH] Added dependency for the cancel feature --- model/document.js | 1 + 1 file changed, 1 insertion(+) diff --git a/model/document.js b/model/document.js index 1c79e925..ab9e2c87 100644 --- a/model/document.js +++ b/model/document.js @@ -634,6 +634,7 @@ module.exports = class BaseDocument extends Observable { } async submit() { + this.cancelled = 0; await this.submitOrRevert(1); }