Fix React Router routes [MAILPOET-1675]

This commit is contained in:
wxa
2018-12-11 19:10:04 +03:00
parent a87cdc89e8
commit bed5c3a31f

View File

@@ -47,19 +47,19 @@ if (container) {
let routes = [ let routes = [
/* Listings */ /* Listings */
{ {
path: '/standard(/)**', path: '/standard/(.*)?',
component: NewsletterListStandard, component: NewsletterListStandard,
}, },
{ {
path: '/welcome(/)**', path: '/welcome/(.*)?',
component: NewsletterListWelcome, component: NewsletterListWelcome,
}, },
{ {
path: '/notification/history/:parent_id(/)**', path: '/notification/history/:parent_id/(.*)?',
component: NewsletterListNotificationHistory, component: NewsletterListNotificationHistory,
}, },
{ {
path: '/notification(/)**', path: '/notification/(.*)?',
component: NewsletterListNotification, component: NewsletterListNotification,
}, },
/* New newsletter: types */ /* New newsletter: types */