1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

chore(kubernetes): Migrate Helm Templates View to React R8S-239 (#587)

This commit is contained in:
James Player 2025-04-08 12:51:36 +12:00 committed by GitHub
parent ad89df4d0d
commit 264ff5457b
20 changed files with 635 additions and 372 deletions

View file

@ -1,18 +1,12 @@
import React from 'react';
import { HelmIcon } from '@/kubernetes/components/helm/helm-templates/HelmIcon';
import { FallbackImage } from '@/react/components/FallbackImage';
import Svg from '@@/Svg';
export interface Chart {
name: string;
description: string;
icon?: string;
annotations?: {
category?: string;
};
}
import { Chart } from '../types';
import { HelmIcon } from './HelmIcon';
interface HelmTemplatesListItemProps {
model: Chart;
@ -30,7 +24,7 @@ export function HelmTemplatesListItem(props: HelmTemplatesListItemProps) {
return (
<button
type="button"
className="blocklist-item mx-0 bg-inherit text-start"
className="blocklist-item !mx-0 bg-inherit text-start"
onClick={handleSelect}
tabIndex={0}
>