Do not update notify if already notified.
This commit is contained in:
parent
b75724450b
commit
e10d530d61
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ class _taskManagerSingleton extends App.Controller
|
||||||
task = @get(key)
|
task = @get(key)
|
||||||
if !task
|
if !task
|
||||||
throw "No such task with '#{key}' to notify"
|
throw "No such task with '#{key}' to notify"
|
||||||
|
return if task.notify
|
||||||
task.notify = true
|
task.notify = true
|
||||||
@taskUpdate(task)
|
@taskUpdate(task)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue