Этот коммит содержится в:
Joram Wilander
2016-11-01 08:34:52 -04:00
коммит произвёл Christopher Speller
родитель 1d4f42acd9
Коммит 6d3b3162b0
4 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@@ -80,7 +80,7 @@ export default class ChannelNotificationsModal extends React.Component {
}
createNotifyLevelSection(serverError) {
// Get glabal user setting for notifications
const globalNotifyLevel = this.props.currentUser.notify_props.desktop;
const globalNotifyLevel = this.props.currentUser.notify_props ? this.props.currentUser.notify_props.desktop : 'all';
let globalNotifyLevelName;
if (globalNotifyLevel === 'all') {
globalNotifyLevelName = (

Просмотреть файл

@@ -27,11 +27,13 @@ export default class TeamUrl extends React.Component {
isLoading: false
};
}
submitBack(e) {
e.preventDefault();
this.props.state.wizard = 'display_name';
this.props.updateParent(this.props.state);
}
submitNext(e) {
e.preventDefault();