Add data about form editor tutorial into store
[MAILPOET-3206]
This commit is contained in:
@@ -174,6 +174,12 @@ export default {
|
||||
getAllWooCommerceTags(state) {
|
||||
return state.allWooCommerceTags;
|
||||
},
|
||||
getTutorialSeen(state) {
|
||||
return state.tutorialSeen;
|
||||
},
|
||||
getTutorialUrl(state) {
|
||||
return state.tutorialUrl;
|
||||
},
|
||||
/**
|
||||
* Goes thru all parents of the block and return
|
||||
* the attribute value from the closest parent which has the attribute defined
|
||||
|
@@ -84,6 +84,8 @@ export default () => {
|
||||
allWooCommerceProducts: window.mailpoet_woocommerce_products,
|
||||
allWooCommerceCategories: window.mailpoet_woocommerce_categories,
|
||||
allWooCommerceTags: window.mailpoet_woocommerce_tags,
|
||||
tutorialSeen: window.mailpoet_tutorial_seen,
|
||||
tutorialUrl: window.mailpoet_tutorial_url,
|
||||
};
|
||||
|
||||
const config = {
|
||||
|
Reference in New Issue
Block a user