mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-11 10:18:07 +09:00
fix duplicate invite logic
This commit is contained in:
parent
88afa4ae11
commit
f175db5543
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class PageMainImport extends React.Component<I.PageComponent, State> {
|
|||
};
|
||||
|
||||
const space = UtilObject.getSpaceviewBySpaceId(message.spaceId);
|
||||
if (space) {
|
||||
if (space && ![ I.SpaceStatus.Deleted ].includes(space.spaceAccountStatus)) {
|
||||
this.setState({ error: translate('pageMainInviteErrorDuplicate') });
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue