mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-28 18:20:42 +00:00
fix(issueProvider): migration leading to double entries for providers
This commit is contained in:
parent
044dd1c79b
commit
dbe7c6806f
1 changed files with 3 additions and 3 deletions
|
|
@ -45,9 +45,9 @@ export const crossModelMigrations = (data: AppDataComplete): AppDataComplete =>
|
|||
data.project.ids.find((id) => data.project.entities[id]?.issueIntegrationCfgs)
|
||||
) {
|
||||
newData = migrateIssueProvidersFromProjects(newData);
|
||||
}
|
||||
if (data.globalConfig?.calendarIntegration?.calendarProviders?.length) {
|
||||
newData = migrateIssueProvidersFromCalendars(newData);
|
||||
if (data.globalConfig?.calendarIntegration?.calendarProviders?.length) {
|
||||
newData = migrateIssueProvidersFromCalendars(newData);
|
||||
}
|
||||
}
|
||||
|
||||
if (!data.note[MODEL_VERSION_KEY]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue