New Broken Cards page

This commit is contained in:
John R. Supplee 2021-01-10 00:17:59 +02:00
parent 734c56a6b6
commit 4679db6ec4
5 changed files with 249 additions and 0 deletions

View file

@ -165,6 +165,26 @@ FlowRouter.route('/due-cards', {
},
});
FlowRouter.route('/broken-cards', {
name: 'broken-cards',
action() {
const brokenCardsTemplate = 'brokenCards';
Filter.reset();
// EscapeActions.executeAll();
EscapeActions.executeUpTo('popup-close');
Utils.manageCustomUI();
Utils.manageMatomo();
BlazeLayout.render('defaultLayout', {
headerBar: 'brokenCardsHeaderBar',
content: brokenCardsTemplate,
});
// }
},
});
FlowRouter.route('/import/:source', {
name: 'import',
triggersEnter: [AccountsTemplates.ensureSignedIn],