Add issues suscription on taskboard changes

stable
Álex Hermida 2018-07-19 13:19:19 +02:00 committed by Alex Hermida
parent 59cdbdc48f
commit 7b3bdfbf97
1 changed files with 4 additions and 0 deletions

View File

@ -361,6 +361,10 @@ class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin, taiga
@events.subscribe @scope, routingKey, debounceLeading(500, (message) =>
@.loadTaskboard())
routingKey = "changes.project.#{@scope.projectId}.issues"
@events.subscribe @scope, routingKey, debounceLeading(500, (message) =>
@.loadIssues())
routingKey1 = "changes.project.#{@scope.projectId}.userstories"
@events.subscribe @scope, routingKey1, (message) =>
@.refreshTagsColors()