mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-22 08:28:38 +00:00
- render.js: Enhance getLobeHubIcon to parse dot‑chained props, e.g.:
- OpenAI.Avatar.type={'platform'}
- OpenRouter.Avatar.shape={'square'}
- Parses booleans/numbers/strings and {…} wrappers; keeps the 2nd arg `size` unless overridden by chain props. Backward compatible.
- EditVendorModal.jsx: Update UI copy — simplify placeholder; document chain‑parameter examples in extra text with doc link.
- en.json: Fix invalid escape sequences in the new i18n string to satisfy linter.
No behavioral changes outside icon rendering; lints pass.