mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 05:41:36 +00:00
Change conflict setting default value and disable selection dropdown
This commit is contained in:
parent
fa995a392e
commit
0ba9420b3a
2 changed files with 3 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ export const DEFAULT_SETTINGS: GitHubSyncSettings = {
|
|||
syncInterval: 1,
|
||||
syncOnStartup: false,
|
||||
syncConfigDir: true,
|
||||
conflictHandling: "ask",
|
||||
conflictHandling: "overwrite",
|
||||
showStatusBarItem: true,
|
||||
showSyncRibbonButton: true,
|
||||
enableLogging: true,
|
||||
|
|
|
|||
|
|
@ -182,7 +182,8 @@ export default class GitHubSyncSettingsTab extends PluginSettingTab {
|
|||
this.plugin.settings.conflictHandling = value;
|
||||
await this.plugin.saveSettings();
|
||||
});
|
||||
});
|
||||
})
|
||||
.setDisabled(true);
|
||||
|
||||
containerEl.createEl("h2", { text: "Interface" });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue