mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-11 18:20:27 +09:00
JS-4243: Shared spaces count fix
This commit is contained in:
parent
f1baad4621
commit
8b26e71a3a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const PopupSettingsSpaceIndex = observer(class PopupSettingsSpaceIndex extends R
|
|||
const isAllowed = config.experimental || config.allowCollaboration;
|
||||
const isShared = space.spaceAccessType == I.SpaceType.Shared;
|
||||
const requestCnt = this.getRequestCnt();
|
||||
const sharedCnt = spaces.filter(it => it.spaceAccessType == I.SpaceType.Shared).length;
|
||||
const sharedCnt = spaces.filter(it => (it.spaceAccessType == I.SpaceType.Shared) && (it.creator == UtilSpace.getMyParticipant().id)).length;
|
||||
const canWrite = UtilSpace.canParticipantWrite();
|
||||
const canDelete = space.targetSpaceId != accountSpaceId;
|
||||
const isShareActive = UtilSpace.isShareActive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue