Skip to content

Commit

Permalink
Upgrade dependencies, including Electron 29.1.5.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Mar 22, 2024
1 parent 47366b7 commit 0eb4c92
Show file tree
Hide file tree
Showing 6 changed files with 2,093 additions and 1,582 deletions.
2 changes: 1 addition & 1 deletion app/renderer/js/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ export class ServerManagerView {

await tab.destroy();

delete this.tabs[index];
delete this.tabs[index]; // eslint-disable-line @typescript-eslint/no-array-delete
this.functionalTabs.delete(name);

// Issue #188: If the functional tab was not focused, do not activate another tab.
Expand Down
3 changes: 1 addition & 2 deletions app/renderer/js/pages/preference/base-section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export function generateOptionHtml(
disabled?: boolean,
): Html {
const labelHtml = disabled
? // eslint-disable-next-line unicorn/template-indent
html`<label
? html`<label
class="disallowed"
title="Setting locked by system administrator."
></label>`
Expand Down
4 changes: 0 additions & 4 deletions app/renderer/js/pages/preference/preference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ export class PreferenceView {
});
break;
}

default: {
((n: never) => n)(navigationItem);
}
}

window.location.hash = `#${navigationItem}`;
Expand Down
Loading

0 comments on commit 0eb4c92

Please sign in to comment.