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 b7ea5b3 commit 006bd10Copy full SHA for 006bd10
src/angular-app/languageforge/lexicon/editor/editor.component.ts
@@ -359,8 +359,8 @@ export class LexiconEditorController implements angular.IController {
359
failCallback: (reason?: any) => void = () => { }) => {
360
const isNewEntry = LexiconEditorController.entryIsNew(this.currentEntry);
361
if (isNewEntry) {
362
- // We have to wait for the initial save to complete so that we have
363
- await this.saving$.promise;
+ // We have to wait for the initial save to complete so that we save with the same entry ID
+ await this.saving$?.promise;
364
}
365
366
this.saving$ = this.$q.defer<void>();
0 commit comments