mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
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:
parent
64d23817ad
commit
78c7ee229c
1 changed files with 7 additions and 6 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue