Fix RoomViewStore forgetting some details of a view room call (#7512)
This commit is contained in:
parent
3a18fd8f71
commit
ec6c1b8272
21 changed files with 67 additions and 57 deletions
|
@ -36,6 +36,7 @@ import { useDispatcher } from "../../../../../hooks/useDispatcher";
|
|||
import { CreateEventField, IGroupSummary } from "../../../dialogs/CreateSpaceFromCommunityDialog";
|
||||
import { createSpaceFromCommunity } from "../../../../../utils/space";
|
||||
import Spinner from "../../../elements/Spinner";
|
||||
import { Action } from "../../../../../dispatcher/actions";
|
||||
|
||||
interface IProps {
|
||||
closeSettingsFn(success: boolean): void;
|
||||
|
@ -112,7 +113,7 @@ const CommunityMigrator = ({ onFinished }) => {
|
|||
onClick={() => {
|
||||
if (community.spaceId) {
|
||||
dis.dispatch({
|
||||
action: "view_room",
|
||||
action: Action.ViewRoom,
|
||||
room_id: community.spaceId,
|
||||
});
|
||||
onFinished();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue