Pass backUrl in subscriber email edit link

[MAILPOET-3054]
This commit is contained in:
Rostislav Wolny
2020-08-05 10:50:08 +02:00
committed by Veljko V
parent d024ff31dd
commit bfca7d9ad9

View File

@@ -343,7 +343,7 @@ const SubscriberList = ({ match }) => {
to={{
pathname: `/edit/${subscriber.id}`,
state: {
test: 'lala',
backUrl: location?.pathname,
},
}}
>