mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -05:00
Updating controller hotspot and bluetooth toggle commands with real paths for RPi.
This commit is contained in:
parent
83b4a62f8f
commit
53f4e29b64
3 changed files with 124 additions and 13 deletions
|
|
@ -986,7 +986,7 @@ export const useHotspot = () => {
|
|||
} else if (hotspot_status === 'in_use') {
|
||||
setInUse(true);
|
||||
setOn(false);
|
||||
} else if (hotspot_status === 'disconnected' || hotspot_status === 'unavailable') {
|
||||
} else if (hotspot_status === 'disconnected' || hotspot_status === 'off') {
|
||||
setOn(false);
|
||||
setInUse(false);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue