Minor tweak
This commit is contained in:
parent
4b6e691d8a
commit
04ea01b324
|
@ -438,7 +438,9 @@ class RoomActionsView extends React.Component {
|
|||
);
|
||||
|
||||
if (teamChannels) {
|
||||
navigation.navigate('SelectListView', { title: 'Leave_Team', teamChannels, teamName: room.name });
|
||||
navigation.navigate('SelectListView', {
|
||||
title: 'Leave_Team', room, teamChannels, teamName: room.name
|
||||
});
|
||||
} else {
|
||||
Alert.alert(
|
||||
I18n.t('Confirmation'),
|
||||
|
|
|
@ -66,6 +66,7 @@ class SelectListView extends React.Component {
|
|||
const teamChannels = props.route?.params?.teamChannels;
|
||||
this.title = props.route?.params?.title;
|
||||
this.teamName = props.route?.params?.teamName;
|
||||
this.room = props.route?.params?.room;
|
||||
this.state = {
|
||||
data: teamChannels,
|
||||
selected: [],
|
||||
|
|
Loading…
Reference in New Issue