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("/")) {
|
||||
window.sessionStorage.setItem(
|
||||
"listFrozen",
|
||||
to.path.endsWith("/").toString()
|
||||
(!to.path.endsWith("/")).toString()
|
||||
);
|
||||
} else if (to.path.endsWith("/")) {
|
||||
fileStore.updateRequest(null);
|
||||
|
||||
@ -94,7 +94,7 @@ const keyEvent = (event: KeyboardEvent) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (String.fromCharCode(event.which).toLowerCase() !== "s") {
|
||||
if (event.key !== "s") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user