summaryrefslogtreecommitdiff
path: root/src/components/Mixins
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-06-08 21:03:11 +0300
committerDerick Montague <derick.montague@ibm.com>2020-06-18 00:04:55 +0300
commite24b17d2f599a34895acb9eccff3144af55484c5 (patch)
tree5576908d3fdd2966872f4dd763237e85a682e81a /src/components/Mixins
parentb1f559f03e3f464c1b8b19a9327158be0ecafe62 (diff)
downloadwebui-vue-e24b17d2f599a34895acb9eccff3144af55484c5.tar.xz
Add DIMM slot table to hardware status page
Add items at /redfish/v1/Systems/system/Memory endpoint to DIMM slot table. The table is sortable and has a row expansion to view details. The code is currently missing most properties needed to match the design. This table will need to be revisited when all properties are available. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I07cacf3403fe84431cb9fe0e4315069fc7baf27d
Diffstat (limited to 'src/components/Mixins')
-rw-r--r--src/components/Mixins/TableDataFormatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Mixins/TableDataFormatter.js b/src/components/Mixins/TableDataFormatter.js
index 5dbe40ad..e811f90a 100644
--- a/src/components/Mixins/TableDataFormatter.js
+++ b/src/components/Mixins/TableDataFormatter.js
@@ -1,7 +1,7 @@
const TableDataFormatter = {
methods: {
tableFormatter(value) {
- if (value === undefined || value === '') {
+ if (value === undefined || value === null || value === '') {
return '--';
} else {
return value;