Add `store-alerts` feature flag

This commit is contained in:
Tiago Noronha 2019-02-21 00:41:00 +00:00
parent 1d864c222c
commit c304760629
4 changed files with 10 additions and 7 deletions

View File

@ -67,7 +67,7 @@ class Layout extends Component {
<TransientNotices />
<div className="woocommerce-layout__primary" id="woocommerce-layout__primary">
<StoreAlerts />
{ window.wcAdminFeatures[ 'store-alerts' ] && <StoreAlerts /> }
<Notices />
{ ! isEmbeded && (

View File

@ -3,6 +3,7 @@
"activity-panels": false,
"analytics": false,
"dashboard": false,
"devdocs": false
"devdocs": false,
"store-alerts": false
}
}
}

View File

@ -3,6 +3,7 @@
"activity-panels": true,
"analytics": true,
"dashboard": true,
"devdocs": true
"devdocs": true,
"store-alerts": true
}
}
}

View File

@ -3,6 +3,7 @@
"activity-panels": false,
"analytics": true,
"dashboard": true,
"devdocs": false
"devdocs": false,
"store-alerts": false
}
}
}