Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3e58045

Browse files
committed
fix: issue #462
1 parent 868f780 commit 3e58045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/roles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import config from "../../config";
1111
export function getRoles() {
1212
return axios.get(`${config.API.V5}/taas-roles`).then((response) => {
1313
response.data = _.filter(response.data, (role) =>
14-
_.find(role.rates, (r) => r.global)
14+
_.find(role.rates, (r) => r.global && r.rate20Global && r.rate30Global)
1515
);
1616
return response;
1717
});

0 commit comments

Comments
 (0)