diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2020-10-14 08:06:48 +0300 |
---|---|---|
committer | Yong Li <yong.b.li@linux.intel.com> | 2020-10-14 08:06:48 +0300 |
commit | 7ee53240fb2d5e89d13bb68e13723fe6e4e83458 (patch) | |
tree | 38bf17c6d7b8599973ac95104210b6e9fb0293b5 /docs/.vuepress/components/BmcToasts.vue | |
parent | 543a861c5f684564cbcdc54bbcd88f6670a6e583 (diff) | |
download | webui-vue-7ee53240fb2d5e89d13bb68e13723fe6e4e83458.tar.xz |
Catch the TypeError in sensors page
On the sensors page, there is the below error and some sensors are missing:
Uncaught (in promise) TypeError:
Cannot read property 'LowerCaution' of undefined
The root cause is that some sensors do not support all these
Thresholds properties, add the checking to catch such errors.
Tested:
These sensors in redfish/v1/Chassis/$id/Sensors/
can be displayed in sensors web page
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: Ic80048045ee8e293e693811c246723557489fb35
Diffstat (limited to 'docs/.vuepress/components/BmcToasts.vue')
0 files changed, 0 insertions, 0 deletions