allow multiple private key paths - fixes #3921

This commit is contained in:
Eugene Pankov
2021-06-05 12:05:46 +02:00
parent 79a429be5d
commit a9069a4a49
10 changed files with 131 additions and 86 deletions

View File

@@ -88,7 +88,7 @@ button.btn.btn-outline-warning.btn-block(*ngIf='config.restartRequested', '(clic
textarea.form-control.h-100(
[(ngModel)]='configFile'
)
.w-100.d-flex.flex-column
.w-100.d-flex.flex-column(*ngIf='showConfigDefaults')
h3 Defaults
textarea.form-control.h-100(
[(ngModel)]='configDefaults',
@@ -102,6 +102,9 @@ button.btn.btn-outline-warning.btn-block(*ngIf='config.restartRequested', '(clic
i.fas.fa-exclamation-triangle.mr-2
| Invalid syntax
button.btn.btn-secondary.ml-auto(
(click)='showConfigDefaults = !showConfigDefaults'
) Show defaults
button.btn.btn-secondary.ml-3(
*ngIf='platform.getConfigPath()',
(click)='showConfigFile()'
)

View File

@@ -39,5 +39,6 @@
textarea {
font-family: 'Source Code Pro', monospace;
font-size: 12px;
min-height: 120px;
}

View File

@@ -30,6 +30,7 @@ export class SettingsTabComponent extends BaseTabComponent {
isShellIntegrationInstalled = false
checkingForUpdate = false
updateAvailable = false
showConfigDefaults = false
@HostBinding('class.pad-window-controls') padWindowControls = false
constructor (