fix (linter): linter fix

This commit is contained in:
MickaelK
2026-04-19 09:04:29 +10:00
parent 824a3517b1
commit 384034e09c
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ import {
pipe, share, toArray, distinctUntilChanged, from, finalize,
combineLatest, shareReplay, race, repeat, interval, merge,
debounceTime, debounce, delay, concatMap, distinct, scan, throwError,
zip, animationFrames, retry, forkJoin, skip, takeUntil, timer,
zip, animationFrames, retry, forkJoin, skip, takeUntil, timer, withLatestFrom,
} from "./vendor/rxjs/rxjs.min.js";
import * as rxajax from "./vendor/rxjs/rxjs-ajax.min.js";
@@ -60,6 +60,7 @@ declare const rxjs: {
takeUntil: typeof takeUntil,
timer: typeof timer,
pairwise: typeof pairwise,
withLatestFrom: typeof withLatestFrom,
};
export default rxjs;
+2 -2
View File
@@ -1,4 +1,4 @@
import rxjs, { effect, preventDefault } from "../../lib/rx.js";
import rxjs, { effect } from "../../lib/rx.js";
import { extractPath, isDir, currentPath } from "./helper.js";
import { mv as mv$, refresh } from "./model_files.js";
@@ -6,7 +6,7 @@ import { mv as mvVL, withVirtualLayer } from "./model_virtual_layer.js";
const mv = (from, to) => withVirtualLayer(
mv$(from, to),
mvVL(from, to, { crossWindow: true }),
mvVL(from, to),
);
export default function() {
+1 -1
View File
@@ -155,7 +155,7 @@ export const ls = (path) => {
export const refresh = () => {
window.dispatchEvent(new KeyboardEvent("keydown", { keyCode: 82 }));
bc.postMessage(null);
}
};
export const search = (term) => ajax({
url: withURLParams(`api/files/search?path=${encodeURIComponent(currentPath())}&q=${encodeURIComponent(term)}`),