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 d7bbae9196
commit 34035abac8
1 changed files with 4 additions and 0 deletions

View File

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