Fix isMssActive selector

[MAILPOET-2677]
This commit is contained in:
Amine Ben hammou
2020-03-17 15:33:21 +01:00
committed by Veljko V
parent cd9fd66c15
commit ae3380ced3

View File

@ -34,7 +34,7 @@ export function isNewUser(state: State) {
}
export function isMssActive(state: State) {
return _.get(state, 'mta.method') === 'MailPoet';
return _.get(state, 'data.mta.method') === 'MailPoet';
}
export function getSegments(state: State) {