From f230b5796b1b83241af7c886ff08248d06a644b1 Mon Sep 17 00:00:00 2001 From: Tim Berners-Lee Date: Sun, 17 Nov 2024 09:17:17 +0000 Subject: [PATCH] Suppress top 'Show profile' link whic doesn't work properly. Superseded by 'Your Profile' menu item and tab. --- src/mainPage/header.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainPage/header.ts b/src/mainPage/header.ts index 989268e..570db56 100644 --- a/src/mainPage/header.ts +++ b/src/mainPage/header.ts @@ -47,13 +47,14 @@ async function setUserMenu (outliner: any) { } // the order of the menu is important here, show profile first and logout last - let userMenuList = [showProfile] + let userMenuList = [] // was [showProfile] userMenuList = userMenuList.concat(await getMenuItems(outliner)) userMenuList.push(logOut) return userMenuList } +// Does not work to jump to user profile, function openUserProfile (outliner: any) { outliner.GotoSubject(authn.currentUser(), true, undefined, true, undefined) location.reload()