mirror of
				https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
				synced 2025-10-31 02:07:45 +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", |   "name": "ucentral-client", | ||||||
|   "version": "2.6.7", |   "version": "2.6.8", | ||||||
|   "lockfileVersion": 2, |   "lockfileVersion": 2, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "name": "ucentral-client", |       "name": "ucentral-client", | ||||||
|       "version": "2.6.7", |       "version": "2.6.8", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@coreui/coreui": "^3.4.0", |         "@coreui/coreui": "^3.4.0", | ||||||
|         "@coreui/icons": "^2.0.1", |         "@coreui/icons": "^2.0.1", | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "2.6.7", |   "version": "2.6.8", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@coreui/coreui": "^3.4.0", |     "@coreui/coreui": "^3.4.0", | ||||||
|     "@coreui/icons": "^2.0.1", |     "@coreui/icons": "^2.0.1", | ||||||
|   | |||||||
| @@ -23,7 +23,7 @@ const WifiAnalysisTable = ({ t, data, loading }) => { | |||||||
|   }; |   }; | ||||||
|   const columns = [ |   const columns = [ | ||||||
|     { key: 'radio', label: '#', _style: { width: '1%' } }, |     { 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: 'vendor', label: t('wifi_analysis.vendor'), _style: { width: '15%' }, sorter: false }, | ||||||
|     { key: 'mode', label: t('wifi_analysis.mode'), _style: { width: '1%' }, sorter: false }, |     { key: 'mode', label: t('wifi_analysis.mode'), _style: { width: '1%' }, sorter: false }, | ||||||
|     { key: 'ssid', label: 'SSID', _style: { width: '15%' } }, |     { key: 'ssid', label: 'SSID', _style: { width: '15%' } }, | ||||||
| @@ -84,12 +84,12 @@ const WifiAnalysisTable = ({ t, data, loading }) => { | |||||||
|         sorter |         sorter | ||||||
|         sorterValue={{ column: 'radio', asc: true }} |         sorterValue={{ column: 'radio', asc: true }} | ||||||
|         scopedSlots={{ |         scopedSlots={{ | ||||||
|           bssid: (item) => ( |           station: (item) => ( | ||||||
|             <td |             <td | ||||||
|               className="text-center align-middle" |               className="text-center align-middle" | ||||||
|               style={{ fontFamily: 'monospace', fontSize: '0.96rem' }} |               style={{ fontFamily: 'monospace', fontSize: '0.96rem' }} | ||||||
|             > |             > | ||||||
|               {item.bssid} |               {item.station} | ||||||
|             </td> |             </td> | ||||||
|           ), |           ), | ||||||
|           radio: (item) => <td className="text-center align-middle">{item.radio.radio}</td>, |           radio: (item) => <td className="text-center align-middle">{item.radio.radio}</td>, | ||||||
|   | |||||||
| @@ -152,7 +152,7 @@ const WifiAnalysis = () => { | |||||||
|                 const data = { |                 const data = { | ||||||
|                   radio: radioInfo, |                   radio: radioInfo, | ||||||
|                   ...extractIp(stat.data, association.bssid), |                   ...extractIp(stat.data, association.bssid), | ||||||
|                   bssid: association.bssid, |                   station: association.station, | ||||||
|                   ssid: ssid.ssid, |                   ssid: ssid.ssid, | ||||||
|                   rssi: association.rssi ? parseDbm(association.rssi) : '-', |                   rssi: association.rssi ? parseDbm(association.rssi) : '-', | ||||||
|                   mode: ssid.mode, |                   mode: ssid.mode, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Charles
					Charles