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