Skip to content

Commit

Permalink
handle active tab after marking as read (#100)
Browse files Browse the repository at this point in the history
Co-authored-by: Amy Chen <[email protected]>
  • Loading branch information
achen2401 and Amy Chen authored Dec 5, 2024
1 parent 9284112 commit 0f15e8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MessagingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,9 @@ export default class MessagingView extends React.Component<
this.setState({
activeMessage: {
...defaultMessage,
type: messageType,
// this will allow the ISACC manual tab to be selected after marking a message as resolved
// otherwise no tab will be selected, which is confusing on the UI
type: isMarkedAsResolved ? "sms" : messageType,
},
error: null,
});
Expand Down

0 comments on commit 0f15e8f

Please sign in to comment.