From a31a813fbf10b02476b2c2af380e5ccaddd6624d Mon Sep 17 00:00:00 2001 From: K Date: Thu, 23 May 2024 20:30:11 +0200 Subject: [PATCH] #2687 other attempt at target blank and ${user.username in single quotes --- modules/core/client/components/NavigationLoggedIn.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/core/client/components/NavigationLoggedIn.js b/modules/core/client/components/NavigationLoggedIn.js index c044a21418..89b0ff6f59 100644 --- a/modules/core/client/components/NavigationLoggedIn.js +++ b/modules/core/client/components/NavigationLoggedIn.js @@ -108,8 +108,11 @@ export default function NavigationLoggedIn({ currentPath, onSignout, user }) { { + window.open('https://notes.trustroots.org/#user=${user.username}', "_blank"); + event.preventDefault(); + }} className="hidden-xs" > {t('Notes')}