IJOB-574 Fix stuck in Git Project History lesson

The `toString` method result of the node was changed in the implementation.

GitOrigin-RevId: add04d32d06998a9a357e305340a7507c3d9dceb
This commit is contained in:
Konstantin Hudyakov
2024-10-24 14:45:14 +00:00
committed by intellij-monorepo-bot
parent 2f23b7e95e
commit 70a339f11e
@@ -78,7 +78,7 @@ class GitProjectHistoryLesson : GitLesson("Git.ProjectHistory", GitLessonsBundle
task {
var selectionCleared = false
triggerAndBorderHighlight().treeItem { tree, path ->
(path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD_NODE").also {
(path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD").also {
if (!selectionCleared) {
tree.clearSelection()
selectionCleared = true