used correct dataIndex for AP Table Channels

This commit is contained in:
irtiza-h30
2021-03-17 12:45:02 -04:00
parent a0506eaf07
commit 70d609643c
2 changed files with 8 additions and 2 deletions

View File

@@ -89,8 +89,8 @@ const accessPointsTableColumns = [
},
{
title: 'CHANNEL',
dataIndex: 'channel',
render: renderTableCell,
dataIndex: ['status', 'channel', 'detailsJSON', 'channelNumberStatusDataMap'],
render: text => renderTableCell(Object.values(text ?? [])),
},
{
title: 'OCCUPANCY',

View File

@@ -70,6 +70,9 @@ export const FILTER_EQUIPMENT = gql`
firmware {
detailsJSON
}
channel {
detailsJSON
}
}
}
context
@@ -122,6 +125,9 @@ export const GET_EQUIPMENT = gql`
osPerformance {
detailsJSON
}
channel {
detailsJSON
}
}
model
alarmsCount