Skip to content

Commit 5dc3505

Browse files
cbishopveltiht2
authored andcommitted
fix: Stores dropdown in client now shows 100 entries. (#1130)
1 parent 0116692 commit 5dc3505

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ui/src/containers/ClientForm/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { map } from 'lodash';
66
import btoa from 'btoa';
77
import Checkbox from 'ui/components/Material/Checkbox';
88
import Dropdown from 'ui/components/Material/Dropdown';
9-
import { withSchema, withModel } from 'ui/utils/hocs';
9+
import { withModels, withModel } from 'ui/utils/hocs';
1010
import { API_SCOPES, XAPI_SCOPES } from 'lib/constants/scopes';
1111
import ValidationList from 'ui/components/ValidationList';
1212
import AuthorityEditor from './AuthorityEditor';
@@ -22,7 +22,11 @@ const renderStoreItems = stores =>
2222
));
2323

2424
const renderStoreDropdown = compose(
25-
withSchema('lrs')
25+
withProps({
26+
schema: 'lrs',
27+
first: 100
28+
}),
29+
withModels
2630
)(({ models, onSelect, selectedId, elemId }) =>
2731
<Dropdown
2832
label="LRS (optional)"

worker/src/handlers/statement/statementForwarding/statementForwardingRequestHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const statementForwardingRequestHandler = async (
153153
return;
154154
});
155155
} else {
156-
logger.info(`SENT statement ${updatedStatement._id} to ${STATEMENT_FORWARDING_REQUEST_DELAYED_QUEUE}`);
156+
logger.info(`EXCEEDED max retry for statement ${updatedStatement._id}, failing (should go to dead letter queue).`);
157157
done(err); // failed, let redrive send to dead letter queue
158158
}
159159
} catch (err) {

0 commit comments

Comments
 (0)