mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
add clearer concept of timeout vs error
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> (cherry picked from commit 104c804) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -45,13 +45,16 @@ export default React.createClass({
|
||||
let message;
|
||||
switch (state) {
|
||||
case updateStateEnum.ERROR:
|
||||
message = 'Error encountered when checking for an update';
|
||||
message = 'Error encountered when checking for an update.';
|
||||
break;
|
||||
case updateStateEnum.TIMEOUT:
|
||||
message = 'Update Check timed out, try again later.';
|
||||
break;
|
||||
case updateStateEnum.NOTAVAILABLE:
|
||||
message = 'No update found';
|
||||
message = 'No update found.';
|
||||
break;
|
||||
case updateStateEnum.DOWNLOADING:
|
||||
message = 'Update is being downloaded';
|
||||
message = 'Update is being downloaded.';
|
||||
done = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user