We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3aef3a5 + a7d50d0 commit a6df179Copy full SHA for a6df179
dev-portal/src/services/state.js
@@ -120,7 +120,8 @@ reactTo(
120
function fetchApiImage (apiList) {
121
apiList.forEach(api => {
122
if (!api.logo) {
123
- const specificLogo = `/custom-content/api-logos/${api.id}_${api.stage}.png`
+ const key = api.stage == null ? api.id : `${api.id}_${api.stage}`
124
+ const specificLogo = `/custom-content/api-logos/${key}.png`
125
126
// fetch automatically follows redirects; setting redirect to `manual` prevents this
127
// we need to prevent it so that we can accurately determine if the image exists
0 commit comments