mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:33:37 +08:00
FIX: users tab in admin panel doesn’t stay highlighted
This commit is contained in:
parent
dba57a4a25
commit
bbb23bb736
|
@ -0,0 +1,5 @@
|
|||
export default Discourse.Route.extend({
|
||||
redirect: function() {
|
||||
this.replaceWith('adminUsersList.show', 'active');
|
||||
}
|
||||
});
|
|
@ -8,7 +8,7 @@
|
|||
{{#if currentUser.admin}}
|
||||
<li>{{#link-to 'adminSiteSettings'}}{{i18n 'admin.site_settings.title'}}{{/link-to}}</li>
|
||||
{{/if}}
|
||||
<li>{{#link-to 'adminUsersList.show' 'active'}}{{i18n 'admin.users.title'}}{{/link-to}}</li>
|
||||
<li>{{#link-to 'adminUsersList'}}{{i18n 'admin.users.title'}}{{/link-to}}</li>
|
||||
{{#if showBadges}}
|
||||
<li>{{#link-to 'adminBadges.index'}}{{i18n 'admin.badges.title'}}{{/link-to}}</li>
|
||||
{{/if}}
|
||||
|
@ -34,4 +34,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user