fix backing out of disallowed directory

This commit is contained in:
joshuaboud 2021-12-15 14:57:46 -04:00
parent 97be59f606
commit 765d6fb16b
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -128,8 +128,8 @@ export class NavWindow {
try {
var files = await this.pwd().get_children(this);
} catch(e) {
await this.modal_prompt.alert(e);
this.up();
this.modal_prompt.alert(e);
return;
}
while (this.entries.length) {