1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-08 17:48:33 +03:00

Only show spaces blue flashy dot if user is in 0 spaces

This commit is contained in:
Michael Telatynski
2021-08-12 15:54:41 +01:00
parent 0414ea27b8
commit 4f0ae0a849

View File

@@ -148,7 +148,7 @@ const CreateSpaceButton = ({
};
let betaDot: JSX.Element;
if (!localStorage.getItem("mx_seenSpaces")) {
if (!localStorage.getItem("mx_seenSpaces") && !SpaceStore.instance.spacePanelSpaces.length) {
betaDot = <div className="mx_BetaDot" />;
}