mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Merge pull request #749 from asmsuechan/change-order-for-ama-event
Change order for AMA event
This commit is contained in:
@@ -34,15 +34,16 @@ class InfoTab extends React.Component {
|
|||||||
amaEnabled: this.state.config.amaEnabled
|
amaEnabled: this.state.config.amaEnabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!newConfig.amaEnabled) {
|
||||||
|
AwsMobileAnalyticsConfig.recordDynamicCustomEvent('DISABLE_AMA')
|
||||||
|
}
|
||||||
|
|
||||||
ConfigManager.set(newConfig)
|
ConfigManager.set(newConfig)
|
||||||
|
|
||||||
store.dispatch({
|
store.dispatch({
|
||||||
type: 'SET_CONFIG',
|
type: 'SET_CONFIG',
|
||||||
config: newConfig
|
config: newConfig
|
||||||
})
|
})
|
||||||
if (!newConfig.amaEnabled) {
|
|
||||||
AwsMobileAnalyticsConfig.recordDynamicCustomEvent('DISABLE_AMA')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
|||||||
Reference in New Issue
Block a user