Deselect message history message when topic selection changes

Fixes #93
This commit is contained in:
Thomas Nordquist
2019-04-15 16:45:58 +02:00
parent d24dc41024
commit 38819b0e0a
5 changed files with 70 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ import { GlobalState, globalState } from './Global'
import { publishReducer, PublishState } from './Publish'
import { Record } from 'immutable'
import { settingsReducer, SettingsState } from './Settings'
import { sidebarReducer, SidebarState } from './Sidebar'
import { treeReducer, TreeState } from './Tree'
export interface AppState {
@@ -12,6 +13,7 @@ export interface AppState {
tree: TreeState
settings: Record<SettingsState>,
publish: PublishState
sidebar: SidebarState,
connection: ConnectionState
connectionManager: ConnectionManagerState
}
@@ -19,6 +21,7 @@ export interface AppState {
export default combineReducers({
globalState,
publish: publishReducer,
sidebar: sidebarReducer,
connection: connectionReducer,
settings: settingsReducer,
tree: treeReducer,