diff --git a/src/views/room/handlers/FurniChooserWidgetHandler.ts b/src/views/room/handlers/FurniChooserWidgetHandler.ts index f1dc79d7..dd687604 100644 --- a/src/views/room/handlers/FurniChooserWidgetHandler.ts +++ b/src/views/room/handlers/FurniChooserWidgetHandler.ts @@ -77,7 +77,7 @@ export class FurniChooserWidgetHandler extends RoomWidgetHandler private selectRoomObject(message: RoomWidgetRoomObjectMessage): void { - if(message.category !== RoomObjectCategory.WALL || message.category !== RoomObjectCategory.FLOOR) return; + if((message.category !== RoomObjectCategory.WALL) && (message.category !== RoomObjectCategory.FLOOR)) return; GetRoomEngine().selectRoomObject(this.container.roomSession.roomId, message.id, message.category); } diff --git a/src/views/room/widgets/choosers/FurniChooserWidgetView.tsx b/src/views/room/widgets/choosers/FurniChooserWidgetView.tsx index 0ac7ab55..d82775b2 100644 --- a/src/views/room/widgets/choosers/FurniChooserWidgetView.tsx +++ b/src/views/room/widgets/choosers/FurniChooserWidgetView.tsx @@ -55,7 +55,7 @@ export const FurniChooserWidgetView: FC<{}> = props => setItems(null); }, []); - if (!isVisible) return null; + if(!isVisible) return null; - return ; + return ; } diff --git a/src/views/room/widgets/choosers/UserChooserWidgetView.tsx b/src/views/room/widgets/choosers/UserChooserWidgetView.tsx index 4c8056af..6ef77e28 100644 --- a/src/views/room/widgets/choosers/UserChooserWidgetView.tsx +++ b/src/views/room/widgets/choosers/UserChooserWidgetView.tsx @@ -57,5 +57,5 @@ export const UserChooserWidgetView: FC<{}> = props => if(!isVisible) return null; - return ; + return ; }