diff --git a/frontend/app/view/webview/webview.tsx b/frontend/app/view/webview/webview.tsx index a72df73fd..f770f907c 100644 --- a/frontend/app/view/webview/webview.tsx +++ b/frontend/app/view/webview/webview.tsx @@ -378,7 +378,7 @@ export class WebViewModel implements ViewModel { getSettingsMenuItems(): ContextMenuItem[] { return [ { - label: "Set Homepage", + label: "Set Block Homepage", click: async () => { const url = this.getUrl(); if (url != null && url != "") { @@ -389,6 +389,15 @@ export class WebViewModel implements ViewModel { } }, }, + { + label: "Set Default Homepage", + click: async () => { + const url = this.getUrl(); + if (url != null && url != "") { + await RpcApi.SetConfigCommand(WindowRpcClient, { "web:defaulturl": url }); + } + }, + }, { type: "separator", },