web/admin: run explicit update after loading instance

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-07-03 16:41:42 +02:00
parent 7257108091
commit 2c9b596f01
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ export abstract class ModelForm<T, PKT extends string | number> extends Form<T>
if (this.isInViewport) {
this.loadInstance(value).then(instance => {
this.instance = instance;
this.requestUpdate();
});
}
}