We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118ed1d commit a0c61caCopy full SHA for a0c61ca
web/src/views/GitInput.coffee
@@ -74,9 +74,11 @@ export default defineComponent
74
get_saved = =>
75
saved_config.value = (await get_global_state config_key) or null
76
if saved_config.value
77
- Object.assign options, saved_config.value.options.filter (o) =>
78
- # to not mess things up when changes in default options
79
- options.some (oo) => oo.value == o.value
+ for option from options
+ saved = saved_config.value.options.find (o) =>
+ o.value == option.value
80
+ if saved
81
+ option.active = saved.active
82
# because modifying `options` this will have changed `command`
83
# via watchEffect, we need to wait before overwriting it
84
await nextTick()
0 commit comments