diff --git a/ui/src/features/project/analysis-templates/analysis-templates-list.tsx b/ui/src/features/project/analysis-templates/analysis-templates-list.tsx index 5d579b17f..a23f6925d 100644 --- a/ui/src/features/project/analysis-templates/analysis-templates-list.tsx +++ b/ui/src/features/project/analysis-templates/analysis-templates-list.tsx @@ -31,83 +31,85 @@ export const AnalysisTemplatesList = () => { }); return ( - - dataSource={data?.analysisTemplates} - pagination={{ hideOnSinglePage: true }} - rowKey={(i) => i.metadata?.name || ''} - loading={isLoading} - expandable={descriptionExpandable()} - > - - title='Creation Date' - width={200} - render={(_, template) => { - const date = template.metadata?.creationTimestamp?.toDate(); - return date ? format(date, 'MMM do yyyy HH:mm:ss') : ''; - }} - /> - title='Name' dataIndex={['metadata', 'name']} /> - - width={260} - title={ -
- -
- } - render={(_, template) => ( -
- - -
- )} - /> - +
+ + dataSource={data?.analysisTemplates} + pagination={{ hideOnSinglePage: true }} + rowKey={(i) => i.metadata?.name || ''} + loading={isLoading} + expandable={descriptionExpandable()} + > + + title='Creation Date' + width={200} + render={(_, template) => { + const date = template.metadata?.creationTimestamp?.toDate(); + return date ? format(date, 'MMM do yyyy HH:mm:ss') : ''; + }} + /> + title='Name' dataIndex={['metadata', 'name']} /> + + width={260} + title={ +
+ +
+ } + render={(_, template) => ( +
+ + +
+ )} + /> + +
); }; diff --git a/ui/src/pages/settings.tsx b/ui/src/pages/settings.tsx index ef7956907..9d161063b 100644 --- a/ui/src/pages/settings.tsx +++ b/ui/src/pages/settings.tsx @@ -30,11 +30,18 @@ export const Settings = ({ section = 'verification' }: { section?: string }) => } }; + const getSectionTitle = (section: string) => { + switch (section) { + case 'verification': + return 'Cluster Analysis Templates'; + } + }; + return (
-
Cluster Analysis Templates
+
{getSectionTitle(section)}