diff --git a/webapps/console/pages/_app.tsx b/webapps/console/pages/_app.tsx index a36920a3c..32136df41 100644 --- a/webapps/console/pages/_app.tsx +++ b/webapps/console/pages/_app.tsx @@ -450,8 +450,12 @@ const WorkspaceLoader: React.FC< analytics.page("Workspace Page", { context: { workspaceId: workspace.id, groupId: workspace.id }, }); + const newTitle = `Jitsu - ${workspace.name}`; + if (document.title !== newTitle) { + document.title = newTitle; + } } - }, [analytics, router.asPath, workspace?.id]); + }, [analytics, router.asPath, workspace?.id, workspace?.name]); /* eslint-disable react-hooks/exhaustive-deps */ //user may be a new object on each render while being the same user