Skip to content

Commit

Permalink
https://sonarcloud.io/project/issues?impactSeverities=MEDIUM&sinceLea…
Browse files Browse the repository at this point in the history
…kPeriod=true&issueStatuses=OPEN%2CCONFIRMED&branch=v3.x.x&id=zowe_api-layer&open=AZG8RKFcaDaTTh7MLIoA&tab=code

Signed-off-by: Richard Salac <richard.salac@broadcom.com>
  • Loading branch information
richard-salac committed Sep 19, 2024
1 parent 79ad5f8 commit f4f6967
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default class ServiceTab extends Component {
if (!apis || typeof apis !== 'object') {
return null;
}
const apiKey = Object.keys(apis).find((key) => apis[key] && apis[key].graphqlUrl);
const apiKey = Object.keys(apis).find((key) => apis[key]?.graphqlUrl);
return apiKey ? apis[apiKey].graphqlUrl : null;
};

Expand Down

0 comments on commit f4f6967

Please sign in to comment.