directory listing bug fix
This commit is contained in:
parent
0709474faa
commit
e12b108ccb
@ -105,7 +105,7 @@ watch(route, (to, from) => {
|
|||||||
if (from.path.endsWith("/")) {
|
if (from.path.endsWith("/")) {
|
||||||
window.sessionStorage.setItem(
|
window.sessionStorage.setItem(
|
||||||
"listFrozen",
|
"listFrozen",
|
||||||
to.path.endsWith("/").toString()
|
(!to.path.endsWith("/")).toString()
|
||||||
);
|
);
|
||||||
} else if (to.path.endsWith("/")) {
|
} else if (to.path.endsWith("/")) {
|
||||||
fileStore.updateRequest(null);
|
fileStore.updateRequest(null);
|
||||||
|
|||||||
@ -94,7 +94,7 @@ const keyEvent = (event: KeyboardEvent) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (String.fromCharCode(event.which).toLowerCase() !== "s") {
|
if (event.key !== "s") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user