|
96 | 96 | <OptionAutoSync |
97 | 97 | :value="enabled" |
98 | 98 | @input="$emit('update:enabled', $event)" /> |
| 99 | + <OptionSyncIntervalEnabled |
| 100 | + :value="syncIntervalEnabled" |
| 101 | + @input="$emit('update:syncIntervalEnabled', $event)" /> |
99 | 102 | <OptionSyncInterval |
| 103 | + v-if="syncIntervalEnabled" |
100 | 104 | :value="syncInterval" |
101 | 105 | @input="$emit('update:syncInterval', $event)" /> |
102 | 106 | <OptionSyncStrategy |
@@ -151,11 +155,12 @@ import OptionAllowNetwork from './native/OptionAllowNetwork' |
151 | 155 | import OptionFileType from './OptionFileType' |
152 | 156 | import OptionExportBookmarks from './OptionExportBookmarks.vue' |
153 | 157 | import OptionAutoSync from './OptionAutoSync.vue' |
| 158 | +import OptionSyncIntervalEnabled from './OptionSyncIntervalEnabled.vue' |
154 | 159 |
|
155 | 160 | export default { |
156 | 161 | name: 'OptionsGit', |
157 | | - components: { OptionAutoSync, OptionExportBookmarks, OptionAllowNetwork, OptionDownloadLogs, OptionAllowRedirects, OptionClientCert, OptionFailsafe, OptionSyncFolder, OptionDeleteAccount, OptionSyncStrategy, OptionResetCache, OptionSyncInterval, OptionNestedSync, OptionFileType }, |
158 | | - props: ['url', 'username', 'password', 'branch', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe', 'allowRedirects', 'bookmark_file_type', 'enabled', 'label'], |
| 162 | + components: { OptionSyncIntervalEnabled, OptionAutoSync, OptionExportBookmarks, OptionAllowNetwork, OptionDownloadLogs, OptionAllowRedirects, OptionClientCert, OptionFailsafe, OptionSyncFolder, OptionDeleteAccount, OptionSyncStrategy, OptionResetCache, OptionSyncInterval, OptionNestedSync, OptionFileType }, |
| 163 | + props: ['url', 'username', 'password', 'branch', 'includeCredentials', 'serverRoot', 'localRoot', 'allowNetwork', 'syncInterval', 'strategy', 'bookmark_file', 'nestedSync', 'failsafe', 'allowRedirects', 'bookmark_file_type', 'enabled', 'label', 'syncIntervalEnabled'], |
159 | 164 | data() { |
160 | 165 | return { |
161 | 166 | panels: [0, 1], |
|
0 commit comments