fix: enhance app icon retrieval logic in home view#11745
fix: enhance app icon retrieval logic in home view#11745ssongliu merged 1 commit into1Panel-dev:dev-v2from
Conversation
- Updated app icon handling to use a dedicated function for improved clarity and maintainability. - Introduced a new method, getAppIconSrc, to manage icon source retrieval based on app properties. - Ensured proper handling of base64 and URL-based icons for better performance and consistency.
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
- Updated app icon handling to use a dedicated function for improved clarity and maintainability. - Introduced a new method, getAppIconSrc, to manage icon source retrieval based on app properties. - Ensured proper handling of base64 and URL-based icons for better performance and consistency.
What this PR does / why we need it?
修复新版图标存储逻辑情况下,首页无法加载 icon 的问题
Summary of your change
前端自动判断b64 还是 新格式。兼容原版和新存储方案
