mirror of
				https://github.com/brianshea2/meshmap.net.git
				synced 2025-03-05 21:00:01 -08:00 
			
		
		
		
	make default channel display a boolean
This commit is contained in:
		
							parent
							
								
									742fa2a15e
								
							
						
					
					
						commit
						c62935abd1
					
				|  | @ -240,7 +240,7 @@ | ||||||
|       ${fwVersion ? `<tr><th>Firmware</th><td>${html(fwVersion)}</td></tr>` : ''} |       ${fwVersion ? `<tr><th>Firmware</th><td>${html(fwVersion)}</td></tr>` : ''} | ||||||
|       ${region ? `<tr><th>Region</th><td>${html(region)}</td></tr>` : ''} |       ${region ? `<tr><th>Region</th><td>${html(region)}</td></tr>` : ''} | ||||||
|       ${modemPreset ? `<tr><th>Modem preset</th><td>${html(modemPreset)}</td></tr>` : ''} |       ${modemPreset ? `<tr><th>Modem preset</th><td>${html(modemPreset)}</td></tr>` : ''} | ||||||
|       ${hasDefaultCh ? `<tr><th>Has default channel?</th><td>Yes</td></tr>` : ''} |       ${hasDefaultCh ? `<tr><th>Has default channel</th><td>True</td></tr>` : ''} | ||||||
|       ${batteryLevel ? `<tr><th>Power</th><td>${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(1)}V)` : ''}</td></tr>` : ''} |       ${batteryLevel ? `<tr><th>Power</th><td>${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(1)}V)` : ''}</td></tr>` : ''} | ||||||
|       ${chUtil ? `<tr><th>ChUtil</th><td>${chUtil.toFixed(1)}%</td></tr>` : ''} |       ${chUtil ? `<tr><th>ChUtil</th><td>${chUtil.toFixed(1)}%</td></tr>` : ''} | ||||||
|       ${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(1)}%</td></tr>` : ''} |       ${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(1)}%</td></tr>` : ''} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue