Register lights kiosk screen (view + control)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3052113d31
commit
198270a59b
1 changed files with 1 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ export async function initDb() {
|
||||||
// settings/manage capability).
|
// settings/manage capability).
|
||||||
for (const k of [
|
for (const k of [
|
||||||
{ slug: 'hvac', path: '/hvac/kiosk', caps: ['view', 'control'] },
|
{ slug: 'hvac', path: '/hvac/kiosk', caps: ['view', 'control'] },
|
||||||
|
{ slug: 'lights', path: '/lights/kiosk', caps: ['view', 'control'] },
|
||||||
]) {
|
]) {
|
||||||
await pool.query('UPDATE apps SET kiosk_path = $1, kiosk_caps = $2 WHERE slug = $3', [k.path, k.caps, k.slug])
|
await pool.query('UPDATE apps SET kiosk_path = $1, kiosk_caps = $2 WHERE slug = $3', [k.path, k.caps, k.slug])
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue