Remove load closed on move us

stable
Álex Hermida 2019-01-11 13:52:13 +01:00 committed by Alex Hermida
parent 77418031ec
commit acc171406b
2 changed files with 1 additions and 2 deletions

View File

@ -157,7 +157,6 @@ class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.F
@scope.$on("sprint:us:move", @.moveUs)
@scope.$on "sprint:us:moved", () =>
@.loadSprints()
@.loadClosedSprints()
@.loadProjectStats()
@scope.$on("backlog:load-closed-sprints", @.loadClosedSprints)

View File

@ -159,7 +159,7 @@ ToggleExcludeClosedSprintsVisualization = ($rootscope, $loading, $translate) ->
$scope.$on "$destroy", ->
$el.off()
$scope.$on "closed-sprints:reloaded", (ctx, sprints) =>
$scope.$on "closed-sprints:reloaded", (ctx, sprints) ->
currentLoading.finish()
if sprints.length > 0