diff --git a/apps/front/src/components/RoomList.tsx b/apps/front/src/components/RoomList.tsx index 156803f..2f5bde0 100644 --- a/apps/front/src/components/RoomList.tsx +++ b/apps/front/src/components/RoomList.tsx @@ -43,7 +43,7 @@ const useStyles = makeStyles((theme) => ({ free: { background: theme.palette.success.main, }, - busy: { + occupied: { background: theme.palette.grey[500], }, })); @@ -79,13 +79,13 @@ export const RoomList = () => { > - + {state.map.map(({ title }, index) => { if (filter === FilterState.FREE && !state.char[index].free) return ""; - else if (filter === FilterState.BUSY && state.char[index].free) + else if (filter === FilterState.OCCUPIED && state.char[index].free) return ""; else return ( @@ -93,7 +93,7 @@ export const RoomList = () => {
diff --git a/apps/front/src/types/ui.ts b/apps/front/src/types/ui.ts index 20739e6..a4ff123 100644 --- a/apps/front/src/types/ui.ts +++ b/apps/front/src/types/ui.ts @@ -1,5 +1,5 @@ export enum FilterState { ALL, FREE, - BUSY, + OCCUPIED, }