Don't pre-select 3rd party libraries in wizard

[MAILPOET-3073]
This commit is contained in:
Ján Mikláš
2020-10-28 15:20:07 +01:00
committed by Veljko V
parent 4045fba527
commit bca228f985
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ import YesNo from 'common/form/yesno/yesno';
const WelcomeWizardUsageTrackingStep = ({ loading, submitForm }) => {
const [state, setState] = useState({
tracking: true,
libs3rdParty: true,
tracking: undefined,
libs3rdParty: undefined,
});
function submit(event) {
event.preventDefault();

View File

@ -288,7 +288,7 @@ class Populator {
$thirdPartyScriptsEnabled = $this->settings->get('3rd_party_libs');
if (is_null($thirdPartyScriptsEnabled)) {
// if third party libraries are not set to anything we will enable them by default, user can manually disable this
// keep loading 3rd party libraries for existing users so the functionality is not broken
$this->settings->set('3rd_party_libs.enabled', '1');
}
}