removed root_new_server

This commit is contained in:
Reinaldo Neto 2021-09-21 19:56:40 -03:00
parent a33eeee317
commit 64f4cc3cf1
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import * as List from '../../containers/List';
import Button from '../../containers/Button';
import { toggleServerDropdown as toggleServerDropdownAction } from '../../actions/rooms';
import { selectServerRequest as selectServerRequestAction, serverInitAdd as serverInitAddAction } from '../../actions/server';
import { appStart as appStartAction, ROOT_NEW_SERVER } from '../../actions/app';
import { appStart as appStartAction, ROOT_OUTSIDE } from '../../actions/app';
import RocketChat from '../../lib/rocketchat';
import I18n from '../../i18n';
import EventEmitter from '../../utils/events';
@ -110,7 +110,7 @@ class ServerDropdown extends Component {
navToNewServer = previousServer => {
const { appStart, initAdd } = this.props;
batch(() => {
appStart({ root: ROOT_NEW_SERVER });
appStart({ root: ROOT_OUTSIDE });
initAdd(previousServer);
});
};