2.6.8: now using station instead of bssid within the wifi analysis table

This commit is contained in:
Charles
2022-03-18 13:09:43 +00:00
parent 54186575e0
commit 1063061b47
4 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "ucentral-client",
"version": "2.6.7",
"version": "2.6.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ucentral-client",
"version": "2.6.7",
"version": "2.6.8",
"dependencies": {
"@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1",

View File

@@ -1,6 +1,6 @@
{
"name": "ucentral-client",
"version": "2.6.7",
"version": "2.6.8",
"dependencies": {
"@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1",

View File

@@ -23,7 +23,7 @@ const WifiAnalysisTable = ({ t, data, loading }) => {
};
const columns = [
{ key: 'radio', label: '#', _style: { width: '1%' } },
{ key: 'bssid', label: 'BSSID', _style: { width: '1%' } },
{ key: 'station', label: 'Station ID', _style: { width: '1%' } },
{ key: 'vendor', label: t('wifi_analysis.vendor'), _style: { width: '15%' }, sorter: false },
{ key: 'mode', label: t('wifi_analysis.mode'), _style: { width: '1%' }, sorter: false },
{ key: 'ssid', label: 'SSID', _style: { width: '15%' } },
@@ -84,12 +84,12 @@ const WifiAnalysisTable = ({ t, data, loading }) => {
sorter
sorterValue={{ column: 'radio', asc: true }}
scopedSlots={{
bssid: (item) => (
station: (item) => (
<td
className="text-center align-middle"
style={{ fontFamily: 'monospace', fontSize: '0.96rem' }}
>
{item.bssid}
{item.station}
</td>
),
radio: (item) => <td className="text-center align-middle">{item.radio.radio}</td>,

View File

@@ -152,7 +152,7 @@ const WifiAnalysis = () => {
const data = {
radio: radioInfo,
...extractIp(stat.data, association.bssid),
bssid: association.bssid,
station: association.station,
ssid: ssid.ssid,
rssi: association.rssi ? parseDbm(association.rssi) : '-',
mode: ssid.mode,