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', title: 'CHANNEL',
dataIndex: 'channel', dataIndex: ['status', 'channel', 'detailsJSON', 'channelNumberStatusDataMap'],
render: renderTableCell, render: text => renderTableCell(Object.values(text ?? [])),
}, },
{ {
title: 'OCCUPANCY', title: 'OCCUPANCY',

View File

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