Fixed EditChannelHeaderModal's contents not always being updated when a change is made

Этот коммит содержится в:
hmhealey
2015-12-09 16:35:49 -05:00
родитель 84aa572f67
Коммит 88f29d8b6d
3 изменённых файлов: 43 добавлений и 20 удалений

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

@@ -317,7 +317,9 @@ ChannelStore.dispatchToken = AppDispatcher.register((payload) => {
case ActionTypes.RECIEVED_CHANNEL:
ChannelStore.pStoreChannel(action.channel);
ChannelStore.pStoreChannelMember(action.member);
if (action.member) {
ChannelStore.pStoreChannelMember(action.member);
}
currentId = ChannelStore.getCurrentId();
if (currentId) {
ChannelStore.resetCounts(currentId);