* Added Thread view * Fixed added unit test * Fixed copyright date on added file * Moved scene-specific selector into service directory
14 lines
388 B
JavaScript
14 lines
388 B
JavaScript
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {ViewTypes} from 'app/constants';
|
|
|
|
export function handleCommentDraftChanged(rootId, draft) {
|
|
return async (dispatch, getState) => {
|
|
dispatch({
|
|
type: ViewTypes.COMMENT_DRAFT_CHANGED,
|
|
rootId,
|
|
draft
|
|
}, getState);
|
|
};
|
|
}
|