mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 00:24:52 +02:00
fix backing out of disallowed directory
This commit is contained in:
parent
97be59f606
commit
765d6fb16b
@ -128,8 +128,8 @@ export class NavWindow {
|
|||||||
try {
|
try {
|
||||||
var files = await this.pwd().get_children(this);
|
var files = await this.pwd().get_children(this);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
await this.modal_prompt.alert(e);
|
||||||
this.up();
|
this.up();
|
||||||
this.modal_prompt.alert(e);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (this.entries.length) {
|
while (this.entries.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user