diff options
author | kytwb <kytwb@pm.me> | 2021-12-18 23:49:27 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-18 23:49:27 +0100 |
commit | fde2f0bd08db9d69d6393d4fc1b0daefdac035c8 (patch) | |
tree | 6e20c6a1a563debe69875e46fde0e1f27d6b0869 /src | |
parent | New Crowdin updates (#2338) [skip ci] (diff) | |
download | ferdium-app-fde2f0bd08db9d69d6393d4fc1b0daefdac035c8.tar.gz ferdium-app-fde2f0bd08db9d69d6393d4fc1b0daefdac035c8.tar.zst ferdium-app-fde2f0bd08db9d69d6393d4fc1b0daefdac035c8.zip |
Set error to null on Request success
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/lib/Request.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
59 | .then(result => { | 59 | .then(result => { |
60 | setTimeout( | 60 | setTimeout( |
61 | action(() => { | 61 | action(() => { |
62 | this.error = null; | ||
62 | this.result = result; | 63 | this.result = result; |
63 | if (this._currentApiCall) this._currentApiCall.result = result; | 64 | if (this._currentApiCall) this._currentApiCall.result = result; |
64 | this.isExecuting = false; | 65 | this.isExecuting = false; |