diff --git a/Changelog.md b/Changelog.md index 60d8e435a275af9e8ef8e0578c64b2e34ca895ff..390a1baa80d3a0ace8349756717783625eb29259 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [2.9] - 2024-10-10 + +- Fix duplicate username in the homepage + ## [2.8] - 2024-10-10 - Add the newest GUI diff --git a/pages/index.tsx b/pages/index.tsx index 61b3479b4080107a75e3205bface8565246da1d0..d86dc07bccdddcd45cb2671ef001e8494eb5c724 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,23 +1,8 @@ -import { EuiPageHeader, EuiSpacer } from '@elastic/eui'; -import { - WfoStartPage, - useWfoSession, -} from '@orchestrator-ui/orchestrator-ui-components'; -import { useTranslations } from 'next-intl'; +import { WfoStartPage } from '@orchestrator-ui/orchestrator-ui-components'; import React from 'react'; export function Index() { - const { session } = useWfoSession(); - const t = useTranslations('main'); - const username = session?.user?.name || ''; - - return ( - <> - <EuiPageHeader pageTitle={`${t('welcome')} ${username}`} /> - <EuiSpacer /> - <WfoStartPage /> - </> - ); + return <WfoStartPage />; } export default Index; diff --git a/setup.py b/setup.py index 74901042ddcac8f61c797a6939759ce2d3444733..d51255547b3f293f18c84641d47bf8c89f62a69b 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name="geant-service-orchestrator-gui", py_modules=[], - version="2.8", + version="2.9", author="GÉANT Orchestration and Automation Team", author_email="goat@geant.org", description="GÉANT Service Orchestrator GUI dummy package",