chat-fe: don't redirect if creating group

This commit is contained in:
Liam Fitzgerald 2020-04-14 11:50:47 +10:00
parent 1d81107d72
commit a6c5e96902

View File

@ -124,7 +124,7 @@ export class NewScreen extends Component {
}
});
if(state.ships.length === 1 && state.security === 'village') {
if(state.ships.length === 1 && state.security === 'village' && !state.createGroup) {
props.history.push(`/~chat/new/dm/${aud[0]}`);
}