Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6698 from SimonBrandner/fix/space-invite-dialog/1…
Browse files Browse the repository at this point in the history
…8745
  • Loading branch information
t3chguy authored Aug 31, 2021
2 parents e246885 + 816f0f5 commit 4e1e304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/spaces/SpacePublicShare.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const SpacePublicShare = ({ space, onFinished }: IProps) => {
{ space.canInvite(MatrixClientPeg.get()?.getUserId()) ? <AccessibleButton
className="mx_SpacePublicShare_inviteButton"
onClick={() => {
showRoomInviteDialog(space.roomId);
if (onFinished) onFinished();
showRoomInviteDialog(space.roomId);
}}
>
<h3>{ _t("Invite people") }</h3>
Expand Down

0 comments on commit 4e1e304

Please sign in to comment.