1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-10 10:00:48 +09:00

fix UtilObject.getMyParticipant subscriptionId

This commit is contained in:
Andrew Simachev 2024-03-05 20:51:16 +01:00
parent cc03236e44
commit e46256dd1c
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 3 additions and 1 deletions

View file

@ -23,6 +23,8 @@ const PopupSettingsPageSpacesList = observer(class PopupSettingsPageSpacesList e
const permissions = participant ? translate(`participantPermissions${participant.permissions}`) : '';
const hasMenu = space.targetSpaceId != accountSpaceId;
console.log(participant);
return (
<tr>
<td className="columnSpace">

View file

@ -92,7 +92,7 @@ class UtilObject {
return null;
};
const object = detailStore.get(Constant.subId.participant, this.getParticipantId(spaceId || space, account.id));
const object = detailStore.get(Constant.subId.myParticipant, this.getParticipantId(spaceId || space, account.id));
return object._empty_ ? null : object;
};