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
This commit is contained in:
Ian Littman 2025-09-10 22:07:59 -05:00 committed by GitHub
parent 64d23817ad
commit 78c7ee229c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ export const renderDownloadFilesText = ({
),
});
}
if (iconUrl) {
/* if (iconUrl) {
items.push({
key: "icon-url",
element: (
@ -112,7 +112,7 @@ export const renderDownloadFilesText = ({
</Button>
),
});
}
} */
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();
};