Skip to content

Commit 9d14373

Browse files
nitishdayalecho-bravo-yahoo
authored andcommitted
fix(custom images): state.js
`fetchApiImage` should (currently) only look for images for API Gateway-managed API and ignore generic APIs.
1 parent d6ed4ea commit 9d14373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-portal/src/services/state.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function createApiList({apiGateway, generic}) {
8181
}
8282

8383
function fetchApiImage() {
84-
store.apiList.forEach(api => {
84+
store.apiList.apiGateway.forEach(api => {
8585
let specificLogo = `/custom-content/api-logos/${api.id}_${api.stage}.png`
8686

8787
// fetch automatically follows redirects; setting redirect to `manual` prevents this

0 commit comments

Comments
 (0)