My Cards development

* always go to page
* use minicard for displaying cards
* change the icon for my cards menu option
This commit is contained in:
John R. Supplee 2021-01-01 22:03:29 +02:00
parent 885de88d35
commit a58b27e9b0
5 changed files with 47 additions and 46 deletions

View file

@ -125,17 +125,17 @@ FlowRouter.route('/my-cards', {
Utils.manageCustomUI();
Utils.manageMatomo();
if (previousPath) {
Modal.open(myCardsTemplate, {
header: 'myCardsModalTitle',
onCloseGoTo: previousPath,
});
} else {
BlazeLayout.render('defaultLayout', {
headerBar: 'myCardsHeaderBar',
content: myCardsTemplate,
});
}
// if (previousPath) {
// Modal.open(myCardsTemplate, {
// header: 'myCardsModalTitle',
// onCloseGoTo: previousPath,
// });
// } else {
BlazeLayout.render('defaultLayout', {
headerBar: 'myCardsHeaderBar',
content: myCardsTemplate,
});
// }
},
});