summaryrefslogtreecommitdiff
path: root/ui/app/components/main_panel
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/main_panel')
-rw-r--r--ui/app/components/main_panel/email_section.js2
-rw-r--r--ui/app/components/main_panel/section_layout.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/main_panel/email_section.js b/ui/app/components/main_panel/email_section.js
index fcfd36cf..db7470dc 100644
--- a/ui/app/components/main_panel/email_section.js
+++ b/ui/app/components/main_panel/email_section.js
@@ -18,7 +18,7 @@ export default class EmailSection extends React.Component {
constructor(props) {
super(props)
this.state = {
- status: 'unknown', // API produces: on, off, starting, stopping, failure
+ status: 'unknown', // API produces: on, off, starting, stopping, failed
keys: null, // API produces: null, sync, generating, found
message: null,
expanded: false
diff --git a/ui/app/components/main_panel/section_layout.js b/ui/app/components/main_panel/section_layout.js
index e2f1ae17..1c06ab28 100644
--- a/ui/app/components/main_panel/section_layout.js
+++ b/ui/app/components/main_panel/section_layout.js
@@ -12,7 +12,7 @@ export default class SectionLayout extends React.Component {
icon: null, // icon name
buttons: null, // button content
status: null, // must be one of: on, off, unknown, wait, disabled,
- // starting, stopping, failure
+ // starting, stopping, failed
header: null, // the first line content
body: null, // expanded content
message: null, // alert content
@@ -39,7 +39,7 @@ export default class SectionLayout extends React.Component {
status = "wait"
} else if (status == "stopping") {
status = "wait"
- } else if (status == "failure") {
+ } else if (status == "failed") {
status = "error"
}