From 04e72566e88374f015d105aa9d1a2624729b8c08 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 21 Nov 2023 16:35:28 +0000 Subject: [PATCH] feat: revert user_cell update --- app/helpers/tab_nav_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/helpers/tab_nav_helper.rb b/app/helpers/tab_nav_helper.rb index 1e9ae7b42..c29ae5d86 100644 --- a/app/helpers/tab_nav_helper.rb +++ b/app/helpers/tab_nav_helper.rb @@ -3,8 +3,7 @@ module TabNavHelper def user_cell(user) link_text = user.name.presence || user.email - link = govuk_link_to(link_text, user) - [link, "User #{user.email}"].join("\n") + [govuk_link_to(link_text, user), "User #{user.email}"].join("\n") end def location_cell_postcode(location, link)