diff --git a/src/app/ui/TreeView.js b/src/app/ui/TreeView.js index fee5661b79..7832661bc6 100644 --- a/src/app/ui/TreeView.js +++ b/src/app/ui/TreeView.js @@ -99,7 +99,7 @@ class TreeView { if (self.isExpanded(keyPath)) { if (!self.expandPath.includes(keyPath)) self.expandPath.push(keyPath) } else { - self.expandPath = self.expandPath.filter(path => path != keyPath) + self.expandPath = self.expandPath.filter(path => path !== keyPath) } } label.oncontextmenu = function (event) {