spr-networks / super

📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network Access
https://www.supernetworks.org/
BSD 3-Clause "New" or "Revised" License
196 stars 13 forks source link

add device disabled tag #305

Closed lts-rad closed 4 months ago

lts-rad commented 7 months ago

What’s missing is a tag for checking if a device is disabled, we can add that.

In AlertUtil.js: } else if (tag == 'DeviceMAC') { return <DeviceItem show={['MAC']} flex={1} item={deviceItem} /> }

Would add If (tag == ‘DeviceDisabled’ ) { … If device unknown: “Unknown” If device disabled: “Disabled” If device enabled: “Enabled”