Changed channel navigation (#3142)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
6f8d4a18ee
Коммит
ca9f348be6
10
webapp/actions/channel_actions.jsx
Обычный файл
10
webapp/actions/channel_actions.jsx
Обычный файл
@@ -0,0 +1,10 @@
|
||||
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import {browserHistory} from 'react-router';
|
||||
|
||||
import TeamStore from 'stores/team_store.jsx';
|
||||
|
||||
export function goToChannel(channel) {
|
||||
browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/channels/' + channel.name);
|
||||
}
|
||||
Ссылка в новой задаче
Block a user