[Backport] refresh user info on init project creation

stable
Juanfran 2017-03-30 14:54:38 +02:00 committed by Jesús Espino
parent 96ec253b99
commit a820a3a934
1 changed files with 5 additions and 2 deletions

View File

@ -22,14 +22,17 @@ class CreateProjectController
"tgAppMetaService",
"$translate",
"tgProjectService",
"$location"
"$location",
"$tgAuth"
]
constructor: (@appMetaService, @translate, @projectService, @location) ->
constructor: (@appMetaService, @translate, @projectService, @location, @authService) ->
taiga.defineImmutableProperty @, "project", () => return @projectService.project
@appMetaService.setfn @._setMeta.bind(this)
@authService.refresh()
@.displayScrumDesc = false
@.displayKanbanDesc = false