Skip to content

Commit 9843400

Browse files
authored
Merge pull request #153 from headlamp-k8s/title-app-catalog
app-catalog: Remove AppCatalogTitle component
2 parents b0f518f + 639f385 commit 9843400

File tree

3 files changed

+6
-40
lines changed

3 files changed

+6
-40
lines changed

app-catalog/src/components/charts/AppCatalogTitle.stories.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

app-catalog/src/components/charts/AppCatalogTitle.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

app-catalog/src/components/charts/List.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import { Autocomplete, Pagination } from '@mui/material';
2222
import { useEffect, useState } from 'react';
2323
//import { jsonToYAML, yamlToJSON } from '../../helpers';
2424
import { fetchChartsFromArtifact } from '../../api/charts';
25-
import { AppCatalogTitle } from './AppCatalogTitle';
2625
//import { createRelease } from '../../api/releases';
2726
import { EditorDialog } from './EditorDialog';
27+
import { SettingsLink } from './SettingsLink';
2828

2929
interface AppCatalogConfig {
3030
/**
@@ -157,7 +157,11 @@ export function ChartsList({ fetchCharts = fetchChartsFromArtifact }) {
157157
chart={selectedChartForInstall}
158158
handleEditor={(open: boolean) => setEditorOpen(open)}
159159
/>
160-
<SectionHeader title={<AppCatalogTitle />} actions={[<Search />, <CategoryForCharts />]} />
160+
<SectionHeader
161+
title="Applications"
162+
titleSideActions={[<SettingsLink />]}
163+
actions={[<Search />, <CategoryForCharts />]}
164+
/>
161165
<Box>
162166
{!charts ? (
163167
<Box

0 commit comments

Comments
 (0)