Skip to content

Commit

Permalink
fix: avoid adding non-regular paths to backstack (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndtoan96 authored Oct 8, 2023
1 parent 4527044 commit f4a8b26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/manager/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ impl Tab {
}

// Backstack
self.backstack.push(target.clone());
if target.is_regular() {
self.backstack.push(target.clone());
}

emit!(Refresh);
true
Expand Down

0 comments on commit f4a8b26

Please sign in to comment.