diff options
author | kytwb <kytwb@pm.me> | 2021-12-14 15:25:56 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-14 15:25:56 +0100 |
commit | e25787f82ea40ebd03d6d4c45749c50241cad1d0 (patch) | |
tree | c0e8a00f1ffeca649c5dd1edb093bcdeb1391120 /src/stores/lib | |
parent | New Crowdin updates (#2325) [skip ci] (diff) | |
download | ferdium-app-e25787f82ea40ebd03d6d4c45749c50241cad1d0.tar.gz ferdium-app-e25787f82ea40ebd03d6d4c45749c50241cad1d0.tar.zst ferdium-app-e25787f82ea40ebd03d6d4c45749c50241cad1d0.zip |
Set error to null on Request reset
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 1cf59d3c7..69c2e1a52 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -136,6 +136,7 @@ export default class Request { | |||
136 | } | 136 | } |
137 | 137 | ||
138 | reset = () => { | 138 | reset = () => { |
139 | this.error = null; | ||
139 | this.result = null; | 140 | this.result = null; |
140 | this.isExecuting = false; | 141 | this.isExecuting = false; |
141 | this.isError = false; | 142 | this.isError = false; |