Upgrade immutableJS
parent
70b00ede08
commit
206e64cd26
|
@ -72,13 +72,14 @@ class ProjectMenuController
|
||||||
|
|
||||||
_getActiveSection: () ->
|
_getActiveSection: () ->
|
||||||
sectionName = @projectService.section
|
sectionName = @projectService.section
|
||||||
|
|
||||||
sectionsBreadcrumb = @projectService.sectionsBreadcrumb
|
sectionsBreadcrumb = @projectService.sectionsBreadcrumb
|
||||||
|
|
||||||
indexBacklog = sectionsBreadcrumb.lastIndexOf("backlog")
|
indexBacklog = sectionsBreadcrumb.lastIndexOf("backlog")
|
||||||
indexKanban = sectionsBreadcrumb.lastIndexOf("kanban")
|
indexKanban = sectionsBreadcrumb.lastIndexOf("kanban")
|
||||||
|
|
||||||
if indexBacklog != -1 || indexKanban != -1
|
if indexBacklog != -1 || indexKanban != -1
|
||||||
if indexKanban == -1 || indexBacklog < indexKanban
|
if indexKanban == -1 || indexBacklog > indexKanban
|
||||||
oldSectionName = "backlog"
|
oldSectionName = "backlog"
|
||||||
else
|
else
|
||||||
oldSectionName = "kanban"
|
oldSectionName = "kanban"
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
"angular-translate-interpolation-messageformat": "~2.8.1",
|
"angular-translate-interpolation-messageformat": "~2.8.1",
|
||||||
"ngInfiniteScroll": "1.2.1",
|
"ngInfiniteScroll": "1.2.1",
|
||||||
"eventemitter2": "~0.4.14",
|
"eventemitter2": "~0.4.14",
|
||||||
"immutable": "~3.7.2",
|
"immutable": "~3.7.6",
|
||||||
"bluebird": "~2.10.2",
|
"bluebird": "~2.10.2",
|
||||||
"intro.js": "~1.1.1"
|
"intro.js": "~1.1.1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue