fix defaults promise wait

This commit is contained in:
Yuri Kuznetsov
2024-07-15 11:25:25 +03:00
parent 3e4b4f2df8
commit bac385545c
+2
View File
@@ -136,6 +136,8 @@ class EditRecordView extends DetailRecordView {
}
if (promise) {
this.wait(promise);
// @todo Revise. Possible race condition issues.
promise.then(() => super.setupBeforeFinal());
}