Remove pwix:blaze-layout

This commit is contained in:
Harry Adel 2026-01-14 00:13:21 +02:00
parent 9ebf4d2426
commit 0635a663f0
38 changed files with 771 additions and 432 deletions

View file

@ -1,4 +1,5 @@
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
const passwordField = AccountsTemplates.removeField('password');
passwordField.autocomplete = 'current-password';

View file

@ -1,4 +1,5 @@
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
let previousPath;
FlowRouter.triggers.exit([
@ -505,11 +506,11 @@ FlowRouter.route('/translation', {
},
});
FlowRouter.notFound = {
FlowRouter.route('*', {
action() {
this.render('defaultLayout', { content: 'notFound' });
},
};
});
// We maintain a list of redirections to ensure that we don't break old URLs
// when we change our routing scheme.