diff options
author | Bennett <hello@vantezzen.io> | 2020-01-31 17:24:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 17:24:30 +0100 |
commit | 9277d42ee8fd6d9e3eccf948f71c8688f726784e (patch) | |
tree | 6f167ea9eb2ed50a079596048993a79c7aeb9447 /src/stores/lib | |
parent | Update (diff) | |
parent | Fix lint (diff) | |
download | ferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.tar.gz ferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.tar.zst ferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.zip |
Merge branch 'develop' into start-in-tray
Diffstat (limited to 'src/stores/lib')
-rw-r--r-- | src/stores/lib/Request.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/lib/Request.js b/src/stores/lib/Request.js index 486de8a49..cfc857c2e 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -82,7 +82,8 @@ export default class Request { | |||
82 | } | 82 | } |
83 | 83 | ||
84 | reload() { | 84 | reload() { |
85 | return this.execute(...this._currentApiCall.args); | 85 | const args = this._currentApiCall ? this._currentApiCall.args : []; |
86 | return this.execute(...args); | ||
86 | } | 87 | } |
87 | 88 | ||
88 | retry = () => this.reload(); | 89 | retry = () => this.reload(); |