Skip to content
Snippets Groups Projects
Commit e9ba1dd2 authored by rcaferati's avatar rcaferati
Browse files

Update accountProfile.coffee

parent 861704f5
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ Template.accountProfile.onCreated -> ...@@ -99,7 +99,7 @@ Template.accountProfile.onCreated ->
Template.accountProfile.onRendered -> Template.accountProfile.onRendered ->
Tracker.afterFlush -> Tracker.afterFlush ->
# this should throw an error-template # this should throw an error-template
FlowRouter.go("home") if !RocketChat.settings.get("Accounts_AllowUserAvatarChange") FlowRouter.go("home") if !RocketChat.settings.get("Accounts_AllowUserProfileChange")
SideNav.setFlex "accountFlex" SideNav.setFlex "accountFlex"
SideNav.openFlex() SideNav.openFlex()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment