Add activation url to store

[MAILPOET-3719]
This commit is contained in:
Jan Lysý
2021-10-01 16:39:07 +02:00
committed by Veljko V
parent 68690ee1fa
commit 8166584d10
4 changed files with 13 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ export default function makeDefaultState(window: any): State {
inProgress: false,
congratulatoryMssEmailSentTo: null,
downloadUrl: window.mailpoet_premium_plugin_download_url,
activationUrl: window.mailpoet_premium_plugin_activation_url,
};
const testEmail = {
state: TestEmailState.NONE,

View File

@@ -212,6 +212,7 @@ export type KeyActivationState = {
congratulatoryMssEmailSentTo: string|null;
code?: number;
downloadUrl?: string;
activationUrl?: string;
}
export enum TestEmailState {