dbeaver/pro#8151 fix: reset password and key fields on change detection (#4102)

* dbeaver/pro#8151 fix: reset password and key fields on change detection

* fixes ssh save form part flow

* removes race condition

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
Sychev Andrey
2026-02-09 12:12:37 +01:00
committed by GitHub
co-authored by sergeyteleshev Evgenia
parent 05bf79e59c
commit 9c406a4e1e
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -125,6 +125,10 @@ export abstract class FormPart<TPartState extends object, TFormState = any> impl
}
async load(): Promise<void> {
if (this.formState.savingPromise) {
return;
}
if (this.loading) {
return this.promise;
}
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.