Skip to content

Commit

Permalink
fix(debugger): not update focused message if debugger is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
franklevasseur committed Jun 25, 2019
1 parent c39e327 commit 8a6830c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -95,7 +95,7 @@ export class Debugger extends React.Component<Props, State> {
}

updateLastMessage = async newMessage => {
if (newMessage && newMessage !== this.lastMessage) {
if (this.state.visible && newMessage && newMessage !== this.lastMessage) {
this.lastMessage = newMessage
// tslint:disable-next-line: no-floating-promises
this.loadEventDebounced(newMessage)
Expand Down

0 comments on commit 8a6830c

Please sign in to comment.