From 78c7ee229c9fde7669c74f80843a00d72bc1ffee Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Wed, 10 Sep 2025 22:07:59 -0500 Subject: [PATCH] Hide GitOps export info for icons in UI (#32839) Also fixes a spacing issue once GitOps lands and we can un-comment this Fixes #32832. # Checklist for submitter ## Testing - [x] QA'd all new/changed functionality manually - [x] Confirmed that the fix is not expected to adversely impact load test results --- .../ViewYamlModal/helpers.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/ViewYamlModal/helpers.tsx b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/ViewYamlModal/helpers.tsx index c64a8e20be..fa836a17b1 100644 --- a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/ViewYamlModal/helpers.tsx +++ b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/ViewYamlModal/helpers.tsx @@ -103,7 +103,7 @@ export const renderDownloadFilesText = ({ ), }); } - if (iconUrl) { + /* if (iconUrl) { items.push({ key: "icon-url", element: ( @@ -112,7 +112,7 @@ export const renderDownloadFilesText = ({ ), }); - } + } */ if (items.length === 0) return <>; @@ -193,11 +193,12 @@ export const createPackageYaml = ({ `; } - if (iconUrl) { - yaml += `icon_url: - path: ./icons/${hyphenatedSWTitle}-icon.png + // skipping pending GitOps support + /* if (iconUrl) { + yaml += ` icon_url: + path: ./icons/${hyphenatedSWTitle}-icon.png `; - } + } */ return yaml.trim(); };