Adding new button 'Normal' in sensors page
- Adding a 3rd option called Normal in
addition to Critical and Warning based on the
discussion in openbmc/openbmc#2750
Fixes openbmc/openbmc#2750
Tested: Verified the 'Normal' button works.
Change-Id: Ied4d37aa9284392f08818f8111ebbcc677234586
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index 21241da..57c5eb1 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -130,7 +130,8 @@
SENSOR: {
NO_SENSOR_DATA: 'There are no sensors found.',
CRITICAL_NO_SENSOR_DATA: 'There are no sensors in Critical state.',
- WARNING_NO_SENSOR_DATA: 'There are no sensors in Warning state.'
+ WARNING_NO_SENSOR_DATA: 'There are no sensors in Warning state.',
+ NORMAL_NO_SENSOR_DATA: 'There are no sensors in Normal state.'
},
ERROR_MODAL: {
TITLE: 'Unexpected error',