From 65b5d050209f218dc8c339b71220f0b5fda76574 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 6 Dec 2023 20:18:38 +0100 Subject: [PATCH] fix(Options): Allow turning auto-sync back on fixes #1438 Signed-off-by: Marcel Klehr --- src/ui/components/OptionsGoogleDrive.vue | 10 +++++++++- src/ui/components/OptionsNextcloudBookmarks.vue | 10 +++++++++- src/ui/components/OptionsWebdav.vue | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/ui/components/OptionsGoogleDrive.vue b/src/ui/components/OptionsGoogleDrive.vue index d401a5c788..a5020a5bb7 100644 --- a/src/ui/components/OptionsGoogleDrive.vue +++ b/src/ui/components/OptionsGoogleDrive.vue @@ -81,6 +81,14 @@ {{ t('LabelOptionsSyncBehavior') }} + @@ -130,7 +138,7 @@ import OptionExportBookmarks from './OptionExportBookmarks.vue' export default { name: 'OptionsGoogleDrive', components: { OptionExportBookmarks, OptionPassphrase, OptionAllowNetwork, OptionDownloadLogs, OptionFailsafe, OptionSyncFolder, OptionDeleteAccount, OptionSyncStrategy, OptionResetCache, OptionSyncInterval, OptionNestedSync }, - props: ['username', 'password', 'refreshToken', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe'], + props: ['username', 'password', 'refreshToken', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe', 'enabled'], data() { return { panels: [0, 1], diff --git a/src/ui/components/OptionsNextcloudBookmarks.vue b/src/ui/components/OptionsNextcloudBookmarks.vue index e963f694b8..68460b2c14 100644 --- a/src/ui/components/OptionsNextcloudBookmarks.vue +++ b/src/ui/components/OptionsNextcloudBookmarks.vue @@ -72,6 +72,14 @@ {{ t('LabelOptionsSyncBehavior') }} + @@ -131,7 +139,7 @@ import OptionExportBookmarks from './OptionExportBookmarks.vue' export default { name: 'OptionsNextcloudBookmarks', components: { OptionExportBookmarks, OptionAllowNetwork, OptionDownloadLogs, OptionAllowRedirects, OptionClientCert, OptionFailsafe, OptionNestedSync, NextcloudLogin, OptionSyncFolder, OptionDeleteAccount, OptionSyncStrategy, OptionResetCache, OptionSyncInterval }, - props: ['url', 'username', 'password', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'nestedSync', 'failsafe', 'allowRedirects'], + props: ['url', 'username', 'password', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'nestedSync', 'failsafe', 'allowRedirects', 'enabled'], data() { return { panels: [0, 1] diff --git a/src/ui/components/OptionsWebdav.vue b/src/ui/components/OptionsWebdav.vue index f2c46307cc..8c37dc5a55 100644 --- a/src/ui/components/OptionsWebdav.vue +++ b/src/ui/components/OptionsWebdav.vue @@ -81,6 +81,14 @@ {{ t('LabelOptionsSyncBehavior') }} + @@ -140,7 +148,7 @@ import OptionExportBookmarks from './OptionExportBookmarks.vue' export default { name: 'OptionsWebdav', components: { OptionExportBookmarks, OptionAllowNetwork, OptionDownloadLogs, OptionAllowRedirects, OptionClientCert, OptionFailsafe, OptionSyncFolder, OptionDeleteAccount, OptionSyncStrategy, OptionResetCache, OptionSyncInterval, OptionNestedSync, OptionFileType }, - props: ['url', 'username', 'password','passphrase', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe', 'allowRedirects', 'bookmark_file_type'], + props: ['url', 'username', 'password','passphrase', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe', 'allowRedirects', 'bookmark_file_type', 'enabled'], data() { return { panels: [0, 1],