Chore: Evaluate Create Channel - TypeScript (#4144)
This commit is contained in:
parent
1efd6a9a65
commit
43e9964b7b
|
@ -4,7 +4,7 @@ import { CREATE_CHANNEL } from '../actions/actionsTypes';
|
||||||
interface ICreateChannelResult {
|
interface ICreateChannelResult {
|
||||||
name: string;
|
name: string;
|
||||||
users: string[];
|
users: string[];
|
||||||
teamId: string;
|
teamId?: string;
|
||||||
type: boolean;
|
type: boolean;
|
||||||
readOnly: boolean;
|
readOnly: boolean;
|
||||||
encrypted: boolean;
|
encrypted: boolean;
|
||||||
|
|
|
@ -224,7 +224,7 @@ class CreateChannelView extends React.Component<ICreateChannelViewProps, ICreate
|
||||||
broadcast,
|
broadcast,
|
||||||
encrypted,
|
encrypted,
|
||||||
isTeam,
|
isTeam,
|
||||||
teamId: this.teamId!
|
teamId: this.teamId
|
||||||
};
|
};
|
||||||
dispatch(createChannelRequest(data));
|
dispatch(createChannelRequest(data));
|
||||||
Review.pushPositiveEvent();
|
Review.pushPositiveEvent();
|
||||||
|
|
Loading…
Reference in New Issue