diff --git a/src/app/molecules/room-profile/RoomProfile.jsx b/src/app/molecules/room-profile/RoomProfile.jsx index d9869bc8..e485bede 100644 --- a/src/app/molecules/room-profile/RoomProfile.jsx +++ b/src/app/molecules/room-profile/RoomProfile.jsx @@ -125,9 +125,9 @@ function RoomProfile({ roomId }) { const renderEditNameAndTopic = () => (
- {canChangeName && } + {canChangeName && } {canChangeTopic && } - {(!canChangeName || !canChangeTopic) && {`You have permission to change room ${canChangeName ? 'name' : 'topic'} only.`}} + {(!canChangeName || !canChangeTopic) && {`You have permission to change ${room.isSpaceRoom() ? 'space' : 'room'} ${canChangeName ? 'name' : 'topic'} only.`}} { status.type === cons.status.IN_FLIGHT && {status.msg}} { status.type === cons.status.SUCCESS && {status.msg}} { status.type === cons.status.ERROR && {status.msg}} @@ -148,7 +148,7 @@ function RoomProfile({ roomId }) { setIsEditing(true)} /> )}