diff options
author | 2019-03-26 14:47:06 +0100 | |
---|---|---|
committer | 2019-03-26 14:47:06 +0100 | |
commit | 39b4c0a15bd8b58eb41bfdee87b935700bf2875b (patch) | |
tree | 33b748e0513ed6dbb9a5940585fd0d7ffa712708 /src/stores | |
parent | hide workspace feature if it is disabled (diff) | |
download | ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.tar.gz ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.tar.zst ferdium-app-39b4c0a15bd8b58eb41bfdee87b935700bf2875b.zip |
handle get workspaces request errors in the ui
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/lib/Request.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/lib/Request.js b/src/stores/lib/Request.js index 04f528156..1fb67cc15 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -85,6 +85,8 @@ export default class Request { | |||
85 | return this.execute(...this._currentApiCall.args); | 85 | return this.execute(...this._currentApiCall.args); |
86 | } | 86 | } |
87 | 87 | ||
88 | retry = () => this.reload(); | ||
89 | |||
88 | isExecutingWithArgs(...args) { | 90 | isExecutingWithArgs(...args) { |
89 | return this.isExecuting && this._currentApiCall && isEqual(this._currentApiCall.args, args); | 91 | return this.isExecuting && this._currentApiCall && isEqual(this._currentApiCall.args, args); |
90 | } | 92 | } |