Fix couple of Spaces regressions (#6989)
This commit is contained in:
parent
a9c27e22b5
commit
427afc83aa
2 changed files with 1 additions and 8 deletions
|
@ -146,13 +146,6 @@ $activeBorderColor: $secondary-content;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(.mx_SpaceButton_narrow) {
|
|
||||||
.mx_SpaceButton_selectionWrapper {
|
|
||||||
width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_SpaceButton_name {
|
.mx_SpaceButton_name {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
|
|
|
@ -128,7 +128,7 @@ const useMyRoomMembership = (room: Room) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const SpaceInfo = ({ space }: { space: Room }) => {
|
const SpaceInfo = ({ space }: { space: Room }) => {
|
||||||
const summary = useAsyncMemo(() => {
|
const summary = useAsyncMemo(async () => {
|
||||||
if (space.getMyMembership() !== "invite") return;
|
if (space.getMyMembership() !== "invite") return;
|
||||||
try {
|
try {
|
||||||
return space.client.getRoomSummary(space.roomId);
|
return space.client.getRoomSummary(space.roomId);
|
||||||
|
|
Loading…
Reference in a new issue