diff options
author | kytwb <kytwb@pm.me> | 2021-12-14 14:04:58 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-14 14:04:58 +0100 |
commit | 06d3664355e5c20e8d09fbc297968146fccf96b8 (patch) | |
tree | f441e0f814658753eed4dcdf14753cf2179331f9 /src/stores/lib | |
parent | New Crowdin updates (#2322) [skip ci] (diff) | |
download | ferdium-app-06d3664355e5c20e8d09fbc297968146fccf96b8.tar.gz ferdium-app-06d3664355e5c20e8d09fbc297968146fccf96b8.tar.zst ferdium-app-06d3664355e5c20e8d09fbc297968146fccf96b8.zip |
Set error to null on Request reload
Diffstat (limited to 'src/stores/lib')
-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 65871ea17..1cf59d3c7 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -97,6 +97,7 @@ export default class Request { | |||
97 | 97 | ||
98 | reload() { | 98 | reload() { |
99 | const args = this._currentApiCall ? this._currentApiCall.args : []; | 99 | const args = this._currentApiCall ? this._currentApiCall.args : []; |
100 | this.error = null; | ||
100 | return this.execute(...args); | 101 | return this.execute(...args); |
101 | } | 102 | } |
102 | 103 | ||