Update Home URL in menu

The Home option will now load the custom home page set by the user (if any)
This commit is contained in:
Agampreet Singh
2025-03-22 14:43:34 +05:30
parent 975265dd02
commit d293b80829

View File

@@ -676,7 +676,9 @@ const menulayout = [
{
label: "Home",
click: () => {
BrowserWindow.getFocusedWindow().loadURL(`${getValue("enterprise-or-normal")}`);
BrowserWindow.getFocusedWindow().loadURL(
`https://microsoft365.com/${getValue("custompage")}/${getValue("enterpriseOrNormal")}`
);
},
},
],