mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-19 02:50:46 -04:00
big boy webui new new new new new 100 files changed 80 years
This commit is contained in:
@@ -18,7 +18,9 @@ function getIdentitySurface() {
|
||||
to mount. The main driver and dedicated PTZ controller are the two active
|
||||
control surfaces; every other route is passive identity-wise.
|
||||
*/
|
||||
return window.location.pathname === '/' || window.location.pathname === '/ptz'
|
||||
return window.location.pathname === '/'
|
||||
|| window.location.pathname === '/old'
|
||||
|| window.location.pathname === '/ptz'
|
||||
? 'driver'
|
||||
: 'passive';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user