1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(helm): uninstall helm app from details view [r8s-285] (#648)

This commit is contained in:
Ali 2025-04-22 09:52:52 +12:00 committed by GitHub
parent 6fcf1893d3
commit bbe94f55b6
5 changed files with 133 additions and 18 deletions

View file

@ -12,6 +12,7 @@ import { Alert } from '@@/Alert';
import { HelmSummary } from './HelmSummary';
import { ReleaseTabs } from './ReleaseDetails/ReleaseTabs';
import { useHelmRelease } from './queries/useHelmRelease';
import { ChartActions } from './ChartActions/ChartActions';
export function HelmApplicationView() {
const environmentId = useEnvironmentId();
@ -32,8 +33,16 @@ export function HelmApplicationView() {
<div className="row">
<div className="col-sm-12">
<Widget>
{name && <WidgetTitle icon={helm} title={name} />}
<WidgetBody className="!pt-1">
{name && (
<WidgetTitle icon={helm} title={name}>
<ChartActions
environmentId={environmentId}
releaseName={name}
namespace={namespace}
/>
</WidgetTitle>
)}
<WidgetBody>
<HelmDetails
name={name}
namespace={namespace}