forked from Ivasoft/mattermost-mobile
Fixed MATTERMOST-MOBILE-ANDROID-87 (#1566)
This commit is contained in:
committed by
Elias Nahum
parent
868e4b8ad6
commit
f5bd4bd752
@@ -13,7 +13,7 @@ import {ViewTypes} from 'app/constants';
|
||||
function displayName(state = '', action) {
|
||||
switch (action.type) {
|
||||
case ViewTypes.SET_CHANNEL_DISPLAY_NAME:
|
||||
return action.displayName;
|
||||
return action.displayName || '';
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user