summaryrefslogtreecommitdiff
path: root/src/components/Mixins/TableDataFormatter.js
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-06-12 18:29:42 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-06-18 00:18:37 +0300
commit54c6bfc2d40def4db1bc3a13ab92ee71091b1e4f (patch)
tree19b739c20f1a61a3459ad130180e6ca376bced32 /src/components/Mixins/TableDataFormatter.js
parent09e8b5d478f212c094b7bea66c570fe0e673756e (diff)
downloadwebui-vue-54c6bfc2d40def4db1bc3a13ab92ee71091b1e4f.tar.xz
Add BMC manager table to hardware status page
Add properties at /redfish/v1/Managers/bmc endpoint in a table with expandable row to view details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieb32a9b2a535ddd7d24edcb68761c51eace2e5a8
Diffstat (limited to 'src/components/Mixins/TableDataFormatter.js')
-rw-r--r--src/components/Mixins/TableDataFormatter.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Mixins/TableDataFormatter.js b/src/components/Mixins/TableDataFormatter.js
index e811f90a..027db610 100644
--- a/src/components/Mixins/TableDataFormatter.js
+++ b/src/components/Mixins/TableDataFormatter.js
@@ -18,6 +18,9 @@ const TableDataFormatter = {
default:
return '';
}
+ },
+ tableFormatterArray(value) {
+ return value.join(', ');
}
}
};