Skip to content

Commit 2e33a07

Browse files
committed
webview: No need to have index.
1 parent 14712dd commit 2e33a07

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app/renderer/js/components/webview.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const shouldSilentWebview = ConfigUtil.getConfigItem("silent", false);
2121
type WebViewProperties = {
2222
$root: Element;
2323
rootWebContents: WebContents;
24-
index: number;
2524
tabId: string;
2625
url: string;
2726
role: TabRole;

app/renderer/js/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ export class ServerManagerView {
382382
webview: WebView.create({
383383
$root: this.$webviewsContainer,
384384
rootWebContents,
385-
index,
386385
tabId,
387386
url: server.url,
388387
role: "server",

0 commit comments

Comments
 (0)