prevent unneeded re-render of breadcrumbs items

上级 ba5517b9
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册