Skip to content

Commit cdd3410

Browse files
committed
remove redundant tab in page header
1 parent e2a675f commit cdd3410

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Projects/ProjectsList.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { projectnameToNamespace } from "../../utils/index"
88
import "@ui5/webcomponents-icons/dist/copy"
99
import "@ui5/webcomponents-icons/dist/arrow-right"
1010
import { ListProjectNames } from "../../lib/api/types/crate/listProjectNames";
11+
import { t } from "i18next";
1112

1213
export default function ProjectsList() {
1314
const navigate = useLuigiNavigate();
@@ -19,12 +20,13 @@ export default function ProjectsList() {
1920
return (
2021
<>
2122
<AnalyticalTable
23+
style={{ margin: "12px" }}
2224
onRowClick={(e: any) => {
2325
navigate(`/mcp/projects/${data ? [e.detail.row.values.projectName] : ""}`);
2426
}}
2527
columns={[
2628
{
27-
Header: "Projects",
29+
Header: t('ProjectsListView.title'),
2830
accessor: "projectName",
2931
Cell: (instance: any) => (
3032
<div style={{

src/views/ProjectList.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ export default function ProjectsListView() {
2424
/>
2525
}
2626
>
27-
<ObjectPageSection id="projects" titleText={t('ProjectsListView.title')}>
2827
<ProjectsList />
29-
</ObjectPageSection>
3028
</ObjectPage>
3129
);
3230
}

0 commit comments

Comments
 (0)