Web: Files: fixed selectUpper
This commit is contained in:
parent
76a1c392c2
commit
b066587fdc
@ -416,7 +416,6 @@ class HotkeyStore {
|
|||||||
get prevFile() {
|
get prevFile() {
|
||||||
const { filesList, selection, hotkeyCaret } = this.filesStore;
|
const { filesList, selection, hotkeyCaret } = this.filesStore;
|
||||||
|
|
||||||
if (filesList.length && selection.length && hotkeyCaret) {
|
|
||||||
if (this.caretIndex !== -1) {
|
if (this.caretIndex !== -1) {
|
||||||
const prevCaretIndex = this.caretIndex - 1;
|
const prevCaretIndex = this.caretIndex - 1;
|
||||||
return filesList[prevCaretIndex];
|
return filesList[prevCaretIndex];
|
||||||
@ -425,7 +424,6 @@ class HotkeyStore {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
get prevForTileUp() {
|
get prevForTileUp() {
|
||||||
const { filesList, folders, hotkeyCaret } = this.filesStore;
|
const { filesList, folders, hotkeyCaret } = this.filesStore;
|
||||||
|
Loading…
Reference in New Issue
Block a user