diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2021-06-29 00:30:54 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2021-06-29 23:06:24 +0300 |
commit | 2b7512eafdda10917f90685f7c885a1c00d22ff4 (patch) | |
tree | 67ce63d7f48505ff4bdd1b0cbe131d6e911ffa74 /src/models | |
parent | 6a4dd9af562075881379062666ff7cb6e1c060f0 (diff) |
Unify task deletion undo
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/task.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/models/task.js b/src/models/task.js index c4601af9..c146f74f 100644 --- a/src/models/task.js +++ b/src/models/task.js @@ -61,6 +61,9 @@ export default class Task { this.syncStatus = null + // Time in seconds before the task is going to be deleted + this.deleteCountdown = null + // Queue for update requests with concurrency 1, // because we only want to allow one request at a time // (otherwise we will run into problems with changed ETags). |