diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 15:26:20 +0100 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-03-26 15:26:20 +0100 |
commit | a2e4316879908c5bc2c38cef81eef9152476b6f6 (patch) | |
tree | 0542dc53ea28dd26a7b6b1731c856eb2887582d8 /src/stores/lib | |
parent | handle get workspaces request errors in the ui (diff) | |
download | ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.tar.gz ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.tar.zst ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.zip |
show infobox when updating workspaces
Diffstat (limited to 'src/stores/lib')
-rw-r--r-- | src/stores/lib/Request.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/lib/Request.js b/src/stores/lib/Request.js index 1fb67cc15..486de8a49 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -109,7 +109,7 @@ export default class Request { | |||
109 | Request._hooks.forEach(hook => hook(this)); | 109 | Request._hooks.forEach(hook => hook(this)); |
110 | } | 110 | } |
111 | 111 | ||
112 | reset() { | 112 | reset = () => { |
113 | this.result = null; | 113 | this.result = null; |
114 | this.isExecuting = false; | 114 | this.isExecuting = false; |
115 | this.isError = false; | 115 | this.isError = false; |
@@ -118,5 +118,5 @@ export default class Request { | |||
118 | this._promise = Promise; | 118 | this._promise = Promise; |
119 | 119 | ||
120 | return this; | 120 | return this; |
121 | } | 121 | }; |
122 | } | 122 | } |