fix (linter): js lint and check

This commit is contained in:
MickaelK
2025-04-09 11:51:33 +10:00
parent d930263401
commit efa62c092b
3 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,7 @@ class ModalComponent extends HTMLElement {
await loadCSS(import.meta.url, "./modal.css");
}
trigger($node, { withButtonsLeft = null, withButtonsRight = null, targetHeight = 0, onQuit = (_a, _b) => Promise.resolve() }) {
trigger($node, { withButtonsLeft = null, withButtonsRight = null, onQuit = (_a, _b) => Promise.resolve() }) {
const close$ = new rxjs.Subject();
// feature: build the dom

View File

@ -134,7 +134,6 @@ function componentLeft(render, { $scroll, getSelectionLength$ }) {
componentShare(createModal({
withButtonsRight: null,
withButtonsLeft: null,
targetHeight: 315,
}), { path: expandSelection()[0].path });
})),
onClick(qs($page, `[data-action="tag"]`)).pipe(rxjs.tap(() => {

View File

@ -55,7 +55,7 @@ export default async function(render, { mime, getDownloadUrl = nop, getFilename
if (!loader) throw new TypeError(`unsupported mimetype "${mime}"`);
const [, url] = loader;
const module = await import(url);
let table = new (await module.default(ITable))(response, { $menubar });
let table = new (await module.default(ITable))(response, { $menubar });
if (typeof table.then === "function") table = await table;
STATE.header = table.getHeader();
STATE.body = table.getBody();