Hotfix: Fixed continiously popping error notification on `GET /api/lambda/requests` (#5593)

main
Kirill Lakhov 3 years ago committed by GitHub
parent 31f0578220
commit bc33ba430c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -723,7 +723,7 @@ export default function (state = defaultState, action: AnyAction): Notifications
};
}
case ModelsActionTypes.FETCH_META_FAILED: {
if (action.payload.error.toString().includes('status code 403')) {
if (action.payload.error.code === 403) {
return state;
}

Loading…
Cancel
Save