Basic support for Mosaico-based email templates.

This commit is contained in:
Tomas Bures 2018-04-02 11:58:32 +02:00
parent b5cdf57f72
commit 7b5642e911
38 changed files with 1271 additions and 751 deletions

View file

@ -319,7 +319,6 @@ class SectionContent extends Component {
ensureAuthenticated() {
if (!mailtrainConfig.isAuthenticated) {
/* FIXME, once we turn Mailtrain to single-page application, this should become navigateTo */
this.navigateTo('/account/login?next=' + encodeURIComponent(window.location.pathname));
}
}
@ -383,7 +382,7 @@ class Section extends Component {
render() {
return (
<Router>
<Router basename={mailtrainConfig.urlBase}>
<SectionContent root={this.props.root} structure={this.structure} />
</Router>
);