Attachment Management at Admin Console

This commit is contained in:
Martin Filser 2022-04-08 00:27:56 +02:00
parent a064e03fc7
commit b8d14abe0c
7 changed files with 249 additions and 4 deletions

View file

@ -355,6 +355,30 @@ FlowRouter.route('/admin-reports', {
},
});
FlowRouter.route('/attachments', {
name: 'attachments',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
() => {
Session.set('currentBoard', null);
Session.set('currentList', null);
Session.set('currentCard', null);
Session.set('popupCardId', null);
Session.set('popupCardBoardId', null);
Filter.reset();
Session.set('sortBy', '');
EscapeActions.executeAll();
},
],
action() {
BlazeLayout.render('defaultLayout', {
headerBar: 'settingHeaderBar',
content: 'attachments',
});
},
});
FlowRouter.notFound = {
action() {
BlazeLayout.render('defaultLayout', { content: 'notFound' });