diff --git a/src/components/navigator/views/room-info/NavigatorRoomInfoView.tsx b/src/components/navigator/views/room-info/NavigatorRoomInfoView.tsx index db5ba852..79e11b07 100644 --- a/src/components/navigator/views/room-info/NavigatorRoomInfoView.tsx +++ b/src/components/navigator/views/room-info/NavigatorRoomInfoView.tsx @@ -6,7 +6,6 @@ import { GetConfiguration, GetGroupInformation, GetSessionDataManager, LocalizeT import { Button } from '../../../../common/Button'; import { Column } from '../../../../common/Column'; import { Flex } from '../../../../common/Flex'; -import { Grid } from '../../../../common/Grid'; import { Text } from '../../../../common/Text'; import { NavigatorEvent } from '../../../../events'; import { FloorplanEditorEvent } from '../../../../events/floorplan-editor/FloorplanEditorEvent'; @@ -160,15 +159,17 @@ export const NavigatorRoomInfoView: FC = props => }) } } - - processAction('set_home_room') } className={ 'g-col-6 flex-shrink-0 icon icon-house-small cursor-pointer' + classNames({ ' gray': homeRoomId !== roomInfoData.enteredGuestRoom.roomId }) } /> - dispatchUiEvent(new NavigatorEvent(NavigatorEvent.TOGGLE_ROOM_LINK)) } /> + + + processAction('set_home_room') } className={ 'flex-shrink-0 icon icon-house-small cursor-pointer' + classNames({ ' gray': homeRoomId !== roomInfoData.enteredGuestRoom.roomId }) } /> + dispatchUiEvent(new NavigatorEvent(NavigatorEvent.TOGGLE_ROOM_LINK)) } /> + { hasPermission('settings') && - <> - processAction('open_room_settings') } /> - processAction('open_floorplan_editor') } /> - } - + + processAction('open_room_settings') } /> + processAction('open_floorplan_editor') } /> + } + { roomInfoData.enteredGuestRoom.description } { (roomInfoData.enteredGuestRoom.habboGroupId > 0) &&