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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user