Default google activated form toggle to true for older configs

This commit is contained in:
Rory Powell 2021-07-23 16:02:38 +01:00
parent eb8d857864
commit 6359f3db64
1 changed files with 4 additions and 0 deletions

View File

@ -217,6 +217,10 @@
}
originalGoogleDoc = cloneDeep(googleDoc)
} else {
// default activated to true for older configs
if (googleDoc.config.activated === undefined) {
googleDoc.config.activated = true
}
originalGoogleDoc = cloneDeep(googleDoc)
providers.google = googleDoc
}