Repair support URL in DropdownUserDirective

stable
Daniel García 2018-03-06 12:57:24 +01:00 committed by Miguel Gonzalez
parent 088552074b
commit 69c67b8c44
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ DropdownUserDirective = (authService, configService, locationService,
link = (scope, el, attrs, ctrl) -> link = (scope, el, attrs, ctrl) ->
scope.vm = {} scope.vm = {}
scope.vm.isFeedbackEnabled = configService.get("feedbackEnabled") scope.vm.isFeedbackEnabled = configService.get("feedbackEnabled")
scope.vm.supportUrl = configService.get("supportUrl")
taiga.defineImmutableProperty(scope.vm, "user", () -> authService.userData) taiga.defineImmutableProperty(scope.vm, "user", () -> authService.userData)
scope.vm.logout = -> scope.vm.logout = ->