mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-17 22:01:32 +03:00
fix: wrong directory loading optimization condition (#1331)
This commit is contained in:
parent
a9eb218a5b
commit
4a0522640d
@ -46,10 +46,6 @@ impl Preview {
|
||||
let url = file.url();
|
||||
self.go(file, MIME_DIR, force);
|
||||
|
||||
if matches!(&self.folder_loader, Some((u, _)) if *u == url) {
|
||||
return;
|
||||
}
|
||||
|
||||
self.folder_loader.take().map(|(_, h)| h.abort());
|
||||
self.folder_loader = Some((
|
||||
url.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user