From d1814b8711ae8fa741fa931d090f1282a297a9a0 Mon Sep 17 00:00:00 2001 From: CodeWithKoushica Date: Fri, 17 Jan 2025 12:50:14 -0600 Subject: [PATCH] Fix for page title space issue --- src/components/App.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/App.jsx b/src/components/App.jsx index 261d1d39fa..bb3d998fed 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -56,7 +56,7 @@ function UpdateDocumentTitle() { { pattern: /^\/project\/members\/[^/]+$/, title: 'Project Members' }, { pattern: /^\/timelog\/?$/, title: `Timelog - ${fullName}` }, { pattern: /^\/timelog\/[^/]+$/, title: `Timelog - ${fullName}` }, - { pattern: /^\/peoplereport\/[^/]+$/, title: `People Report- ${fullName}` }, + { pattern: /^\/peoplereport\/[^/]+$/, title: `People Report - ${fullName}` }, { pattern: /^\/projectreport\/[^/]+$/, title: 'Project Report' }, { pattern: /^\/teamreport\/[^/]+$/, title: 'Team Report' }, { pattern: /^\/taskeditsuggestions$/, title: 'Task Edit Suggestions' }, @@ -110,8 +110,8 @@ function UpdateDocumentTitle() { { pattern: /^\/email-subscribe$/, title: 'Email Subscribe' }, { pattern: /^\/email-unsubscribe$/, title: 'Unsubscribe' }, { pattern: /^\/infoCollections$/, title: 'Info Collections' }, - { pattern: /^\/userprofile\/[^/]+$/, title: `User Profile- ${fullName}` }, - { pattern: /^\/userprofileedit\/[^/]+$/, title: `Edit User Profile- ${fullName}` }, + { pattern: /^\/userprofile\/[^/]+$/, title: `User Profile - ${fullName}` }, + { pattern: /^\/userprofileedit\/[^/]+$/, title: `Edit User Profile - ${fullName}` }, { pattern: /^\/updatepassword\/[^/]+$/, title: 'Update Password' }, { pattern: /^\/Logout$/, title: 'Logout' }, { pattern: /^\/forcePasswordUpdate\/[^/]+$/, title: 'Force Password Update' },