Add admin reports to admin panel

* Broken cards
* Attachments
* Orphaned Attachments
This commit is contained in:
John R. Supplee 2021-04-06 12:24:08 +02:00
parent 4de830d663
commit 0e593c7d81
9 changed files with 237 additions and 7 deletions

View file

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