From fde2f0bd08db9d69d6393d4fc1b0daefdac035c8 Mon Sep 17 00:00:00 2001 From: kytwb Date: Sat, 18 Dec 2021 23:49:27 +0100 Subject: Set error to null on Request success --- src/stores/lib/Request.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stores') diff --git a/src/stores/lib/Request.js b/src/stores/lib/Request.js index 69c2e1a52..7c601e1da 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js @@ -59,6 +59,7 @@ export default class Request { .then(result => { setTimeout( action(() => { + this.error = null; this.result = result; if (this._currentApiCall) this._currentApiCall.result = result; this.isExecuting = false; -- cgit v1.2.3-54-g00ecf