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:
parent
cc03236e44
commit
e46256dd1c
2 changed files with 3 additions and 1 deletions
|
@ -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">
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue