Skip to content

Commit

Permalink
Message body filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
ALotOfNthing committed Nov 18, 2021
1 parent cfaeb25 commit 094a81f
Show file tree
Hide file tree
Showing 16 changed files with 736 additions and 250 deletions.
3 changes: 2 additions & 1 deletion src/components/embedded/EmbeddedMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import EmbeddedMessagesFilterPanel from './EmbeddedMessagesFilterPanel';
const messagesStore = new EmbeddedMessagesStore(api);

const EmbeddedMessages = () => {
const { dataStore, scrolledIndex } = messagesStore;
const { dataStore, scrolledIndex, selectedMessageId } = messagesStore;
const { updateStore } = dataStore;

const [viewType, setViewType] = useState(MessageViewType.JSON);
Expand All @@ -47,6 +47,7 @@ const EmbeddedMessages = () => {
message={message}
setViewType={setViewType}
viewType={viewType}
applyFilterToBody={message.messageId === selectedMessageId}
/>
);
};
Expand Down
Loading

0 comments on commit 094a81f

Please sign in to comment.