Close story viewer when DOE a story
This commit is contained in:
parent
a88778b536
commit
6a80b4b837
1 changed files with 1 additions and 0 deletions
|
@ -1625,6 +1625,7 @@ export function reducer(
|
|||
if (action.type === DOE_STORY) {
|
||||
return {
|
||||
...state,
|
||||
selectedStoryData: undefined,
|
||||
stories: state.stories.filter(
|
||||
existingStory => existingStory.messageId !== action.payload
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue