mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 13:32:45 +08:00
FIX: Back button was broken after clicking flags in hamburger
This commit is contained in:
parent
122fb8025d
commit
e863d66e33
|
@ -1,5 +1,5 @@
|
|||
export default Discourse.Route.extend({
|
||||
redirect: function() {
|
||||
redirect() {
|
||||
this.replaceWith('adminFlags.list', 'active');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -36,7 +36,7 @@ export default createWidget('hamburger-menu', {
|
|||
const { currentUser } = this;
|
||||
|
||||
const links = [{ route: 'admin', className: 'admin-link', icon: 'wrench', label: 'admin_title' },
|
||||
{ route: 'adminFlags',
|
||||
{ href: '/admin/flags/index',
|
||||
className: 'flagged-posts-link',
|
||||
icon: 'flag',
|
||||
label: 'flags_title',
|
||||
|
|
Loading…
Reference in New Issue
Block a user