Small fix: run in action
parent
15478a8f0c
commit
b84533090d
|
@ -297,7 +297,9 @@ export class PostThreadModel {
|
||||||
try {
|
try {
|
||||||
urip.host = await apilib.resolveName(this.rootStore, urip.host)
|
urip.host = await apilib.resolveName(this.rootStore, urip.host)
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
runInAction(() => {
|
||||||
this.error = e.toString()
|
this.error = e.toString()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
runInAction(() => {
|
runInAction(() => {
|
||||||
|
|
Loading…
Reference in New Issue