fix ui build issues
All checks were successful
Build and push image for doorman-homeassistant / docker (push) Successful in 30s
Build and push Doorman UI / API / docker (push) Successful in 1m36s
Build and push image for doorman-homeassistant / deploy-gitainer (push) Successful in 6s

This commit is contained in:
Martin Dimitrov 2025-06-06 15:37:31 -07:00
parent c56b90714f
commit fd3878d590
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,9 @@ export const EditDoorConfigSchema = DoorConfigSchema.extend({
});
export const getEditDoorConfigID = (doorName: string): string[] => {
return getDoorConfigID(doorName).with(1, EDIT_DOOR_CONFIG_SK);
const id = getDoorConfigID(doorName);
id[1] = EDIT_DOOR_CONFIG_SK;
return id;
}
export type DoorConfig = z.infer<typeof DoorConfigSchema>;

View File

@ -4,7 +4,7 @@
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vite/client", "vite-plugin-svgr/client"],
"allowJs": false,
"skipLibCheck": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,