Show the pitch only if key is not stored
[MAILPOET-2142]
This commit is contained in:
committed by
Jack Kitterhing
parent
daabe385c6
commit
9d5f43b411
@@ -1,9 +1,12 @@
|
||||
|
||||
export const getStepsCount = () => {
|
||||
let stepsCount = 4;
|
||||
let stepsCount = 3;
|
||||
if (window.is_woocommerce_active) {
|
||||
stepsCount += 1;
|
||||
}
|
||||
if (!window.has_premium_key) {
|
||||
stepsCount += 1;
|
||||
}
|
||||
return stepsCount;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user