Skip to content

Commit

Permalink
prevent unnecessary update (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
nam-singh authored Nov 13, 2024
1 parent 197c728 commit 3c78d42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ export class DevtoolsController extends Controller {
if (Config.ELEM_FOCUS_MODE) {
await this.setFocusMode(true);
}
// if (path && path !== devtoolsState!.lastElementPath) {
if (path) {
if (path && path !== devtoolsState!.lastElementPath) {
// if (path) {
let report = await this.getReport();
if (report) {
let newIssue : IIssue | null = null;
Expand Down

0 comments on commit 3c78d42

Please sign in to comment.