Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/Projects/ProjectsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { projectnameToNamespace } from '../../utils/index';
import '@ui5/webcomponents-icons/dist/copy';
import '@ui5/webcomponents-icons/dist/arrow-right';
import { ListProjectNames } from '../../lib/api/types/crate/listProjectNames';
import { t } from 'i18next';

export default function ProjectsList() {
const navigate = useLuigiNavigate();
Expand All @@ -21,9 +22,10 @@ export default function ProjectsList() {
return (
<>
<AnalyticalTable
style={{ margin: '12px' }}
columns={[
{
Header: 'Projects',
Header: t('ProjectsListView.title'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

accessor: 'projectName',
Cell: (instance: any) => (
<div
Expand Down
10 changes: 2 additions & 8 deletions src/views/ProjectList.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
ObjectPage,
ObjectPageSection,
ObjectPageTitle,
} from '@ui5/webcomponents-react';
import { ObjectPage, ObjectPageTitle } from '@ui5/webcomponents-react';
import ProjectsList from '../components/Projects/ProjectsList.tsx';
import IntelligentBreadcrumbs from '../components/Core/IntelligentBreadcrumbs.tsx';
import { ProjectListToolbar } from '../components/Projects/ProjectListToolbar.tsx';
Expand All @@ -22,9 +18,7 @@ export default function ProjectsListView() {
/>
}
>
<ObjectPageSection id="projects" titleText={t('ProjectsListView.title')}>
<ProjectsList />
</ObjectPageSection>
<ProjectsList />
</ObjectPage>
);
}