Skip to content

Commit 2f49926

Browse files
authored
Merge pull request RocketChat#209 from Shailesh351/sb_admin_rooms_users
Set Admin Rooms Users Similar to Upstream
2 parents b3fc63e + f05b77f commit 2f49926

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

client/importPackages.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ import '../app/spotify/client';
7373
import '../app/tokenpass/client';
7474
import '../app/ui';
7575
import '../app/ui-account';
76-
// import '../app/ui-admin/client';
76+
import '../app/ui-admin/client';
7777
import '../app/ui-clean-history';
7878
import '../app/ui-flextab';
7979
import '../app/ui-login';

client/routes.js

-16
Original file line numberDiff line numberDiff line change
@@ -233,22 +233,6 @@ FlowRouter.route('/setup-wizard/:step?', {
233233
},
234234
});
235235

236-
FlowRouter.route('/admin/users', {
237-
name: 'admin-users',
238-
async action() {
239-
await import('../app/ui-admin/client/users/views');
240-
BlazeLayout.render('main', { center: 'adminUsers' });
241-
},
242-
});
243-
244-
FlowRouter.route('/admin/rooms', {
245-
name: 'admin-rooms',
246-
async action() {
247-
await import('../app/ui-admin/client/rooms/views');
248-
BlazeLayout.render('main', { center: 'adminRooms' });
249-
},
250-
});
251-
252236
const style = 'overflow: hidden; flex: 1 1 auto; height: 1%;';
253237
FlowRouter.route('/admin/:group?', {
254238
name: 'admin',

0 commit comments

Comments
 (0)