mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
fix: pass resource name instead of chart name to describe API (#657)
The DescribeResource component was passing the chart/release name instead of the actual resource name, causing all resources of the same kind to show the same describe output. Closes #657 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -150,11 +150,11 @@ const DescribeResource = ({
|
||||
} = resource;
|
||||
|
||||
const { status, reason = "" } = conditions?.[0] || {};
|
||||
const { namespace = "", chart = "" } = useParams();
|
||||
const { namespace = "" } = useParams();
|
||||
const { data, isLoading } = useGetResourceDescription(
|
||||
resource.kind,
|
||||
namespace,
|
||||
chart
|
||||
name
|
||||
);
|
||||
|
||||
const yamlFormattedData = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user