fix: avoid adding non-regular paths to backstack (#249)

This commit is contained in:
Nguyễn Đức Toàn 2023-10-08 21:11:51 +07:00 committed by GitHub
parent 4527044547
commit f4a8b26a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,9 @@ impl Tab {
}
// Backstack
self.backstack.push(target.clone());
if target.is_regular() {
self.backstack.push(target.clone());
}
emit!(Refresh);
true