File tree 1 file changed +8
-1
lines changed
ui/components/app/basic-configuration-modal
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ import {
12
12
FontWeight ,
13
13
} from '../../../helpers/constants/design-system' ;
14
14
import { useI18nContext } from '../../../hooks/useI18nContext' ;
15
- import { toggleExternalServices } from '../../../store/actions' ;
15
+ import {
16
+ setDataCollectionForMarketing ,
17
+ setParticipateInMetaMetrics ,
18
+ toggleExternalServices ,
19
+ } from '../../../store/actions' ;
16
20
import {
17
21
ModalOverlay ,
18
22
ModalContent ,
@@ -179,6 +183,9 @@ export function BasicConfigurationModal() {
179
183
closeModal ( ) ;
180
184
dispatch ( toggleExternalServices ( ! isExternalServicesEnabled ) ) ;
181
185
}
186
+
187
+ dispatch ( setParticipateInMetaMetrics ( false ) ) ;
188
+ dispatch ( setDataCollectionForMarketing ( false ) ) ;
182
189
} }
183
190
danger = { isExternalServicesEnabled }
184
191
>
You can’t perform that action at this time.
0 commit comments