Rename ShellUser.menu to profileLinks, so menu keeps one meaning in the shell
This commit was merged in pull request #220.
This commit is contained in:
@@ -137,7 +137,7 @@ test("profile menu entries render as links above Sign out, with their icon", asy
|
||||
csrfToken: "tok.sig",
|
||||
user: {
|
||||
email: "ada@acme.io", initials: "AD", name: "ada",
|
||||
menu: [{ href: "/account/settings", icon: "i-user", label: "My <settings>" }, { href: "/account/help", label: "Help" }],
|
||||
profileLinks: [{ href: "/account/settings", icon: "i-user", label: "My <settings>" }, { href: "/account/help", label: "Help" }],
|
||||
},
|
||||
});
|
||||
const panel = html.slice(html.indexOf('id="profile-menu"'), html.indexOf("</aside>"));
|
||||
|
||||
Reference in New Issue
Block a user