mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
fix: preserve default sync folder path when no overriding
The spread operator `...` replaces `baseConfig.webDav` with `defaultOverride.webDav` entirely, instead of merging them. Hence, the default sync folder path in `baseConfig.webDav` is wiped out. This patch fixes this issue by manually providing a merged `webDav`. Fix: The second issue in https://github.com/johannesjo/super-productivity/issues/4545#issuecomment-2974843258
This commit is contained in:
parent
afc6264211
commit
3561d6e899
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ export class SyncConfigService {
|
|||
return {
|
||||
...baseConfig,
|
||||
...defaultOverride,
|
||||
webDav: {
|
||||
...baseConfig.webDav,
|
||||
...defaultOverride.webDav,
|
||||
},
|
||||
encryptKey: '',
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue