diff --git a/daikoku/javascript/src/components/frontend/api/issues/ApiFilter.tsx b/daikoku/javascript/src/components/frontend/api/issues/ApiFilter.tsx index 9ea27c7dc..97bf7c6d1 100644 --- a/daikoku/javascript/src/components/frontend/api/issues/ApiFilter.tsx +++ b/daikoku/javascript/src/components/frontend/api/issues/ApiFilter.tsx @@ -99,7 +99,7 @@ export function ApiFilter({ const options: readonly VersionOption[] = [ ...availableApiVersions.map((iss) => ({ value: iss, label: `Version : ${iss}` })), - { value: 'all version', label: 'All version' }, + { value: 'all version', label: `${translate('All version')}` }, ] return ( diff --git a/daikoku/javascript/src/components/frontend/api/issues/ApiIssue.tsx b/daikoku/javascript/src/components/frontend/api/issues/ApiIssue.tsx index 170397e30..d7ca15846 100644 --- a/daikoku/javascript/src/components/frontend/api/issues/ApiIssue.tsx +++ b/daikoku/javascript/src/components/frontend/api/issues/ApiIssue.tsx @@ -18,9 +18,9 @@ export function ApiIssue({ const [api, setRootApi] = useState(); const [filter, setFilter] = useState('open'); - const [selectedVersion, setSelectedVersion] = useState({ value: 'all version', label: 'All version' }); - const { translate } = useContext(I18nContext); + + const [selectedVersion, setSelectedVersion] = useState({ value: 'all version', label: `${translate('All version')}` }); useEffect(() => { Services.getRootApi(props.api._humanReadableId) diff --git a/daikoku/javascript/src/components/utils/sidebar/panels/SettingsPanel.tsx b/daikoku/javascript/src/components/utils/sidebar/panels/SettingsPanel.tsx index 5f6ff605c..5e527a7c2 100644 --- a/daikoku/javascript/src/components/utils/sidebar/panels/SettingsPanel.tsx +++ b/daikoku/javascript/src/components/utils/sidebar/panels/SettingsPanel.tsx @@ -78,7 +78,7 @@ export const SettingsPanel = ({ }) => {
{translate('settings')}
- {tenant.name} {translate('settings')} + {tenant.name} {connectedUser.isDaikokuAdmin && ( diff --git a/daikoku/javascript/src/style/layout/navbar.scss b/daikoku/javascript/src/style/layout/navbar.scss index 85e4b99da..365711a80 100644 --- a/daikoku/javascript/src/style/layout/navbar.scss +++ b/daikoku/javascript/src/style/layout/navbar.scss @@ -233,10 +233,10 @@ a.navbar-brand, flex-direction: column; .companion-title { - min-height: 40px; + // min-height: 40px; margin-bottom: 1rem; - overflow: hidden; - text-overflow: ellipsis; + // overflow: hidden; + // text-overflow: ellipsis; white-space: nowrap; line-height: 1.14286; color: $companion_text-color;