Move back to relative paths because somehow the alternative is even worse

This commit is contained in:
2024-09-11 14:18:03 +02:00
parent 3ccf46fb68
commit f3ac6875ed
26 changed files with 60 additions and 69 deletions

View File

@@ -70,7 +70,7 @@ export class FSNavigator {
this.set_loading(true)
const resp = await fs_get_node(path)
this.open_node(resp, push_history)
} catch (err) {
} catch (err: any) {
if (err.value && err.value === "path_not_found") {
if (path !== this.path[0].path && path !== "/" && path !== "") {
console.debug("Path", path, "was not found, trying to navigate to parent")