Skip to content

Commit

Permalink
prevent unneeded re-render of breadcrumbs items
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 25, 2021
1 parent ba5517b commit e764729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class OutlineItem extends BreadcrumbsItem {
if (!(other instanceof OutlineItem)) {
return false;
}
return this.element === other.element &&
return this.element.element === other.element.element &&
this.options.showFileIcons === other.options.showFileIcons &&
this.options.showSymbolIcons === other.options.showSymbolIcons;
}
Expand Down

0 comments on commit e764729

Please sign in to comment.