From 2bf34a62e3aef6f720c41efa5661b4d319d1af26 Mon Sep 17 00:00:00 2001 From: chris-cosentino Date: Sat, 12 Dec 2020 20:49:18 -0500 Subject: [PATCH] additional user friendly radio label fixes --- app/containers/Network/containers/ClientDevices/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/containers/Network/containers/ClientDevices/index.js b/app/containers/Network/containers/ClientDevices/index.js index ef758ad..0f2361f 100644 --- a/app/containers/Network/containers/ClientDevices/index.js +++ b/app/containers/Network/containers/ClientDevices/index.js @@ -5,7 +5,7 @@ import { notification } from 'antd'; import { NetworkTableContainer } from '@tip-wlan/wlan-cloud-ui-library'; -import { ROUTES } from 'constants/index'; +import { ROUTES, USER_FRIENDLY_RADIOS } from 'constants/index'; import UserContext from 'contexts/UserContext'; import { FILTER_CLIENT_SESSIONS } from 'graphql/queries'; @@ -23,7 +23,11 @@ const clientDevicesTableColumns = [ { title: 'HOST NAME', dataIndex: 'hostname' }, { title: 'ACCESS POINT', dataIndex: ['equipment', 'name'] }, { title: 'SSID', dataIndex: 'ssid' }, - { title: 'BAND', dataIndex: 'radioType' }, + { + title: 'BAND', + dataIndex: 'radioType', + render: band => USER_FRIENDLY_RADIOS[band], + }, { title: 'SIGNAL', dataIndex: 'signal' }, { title: 'STATUS',