web/elements: fix loading overlay not being removed on error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -35,6 +35,9 @@ export class ModalForm extends ModalButton {
|
||||
composed: true,
|
||||
}),
|
||||
);
|
||||
}).catch((exc) => {
|
||||
this.loading = false;
|
||||
throw exc;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user