mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 17:57:46 +00:00
2.6.8: now using station instead of bssid within the wifi analysis table
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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>,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user