@01-edu/shared 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attrs-defs.js +6 -5
- package/package.json +1 -1
package/attrs-defs.js
CHANGED
|
@@ -4035,22 +4035,22 @@ types.matchInfluence = TypeObject({
|
|
|
4035
4035
|
instruction:
|
|
4036
4036
|
'Adjust the weights in the match algorithm to influence how audits are attributed',
|
|
4037
4037
|
type: {
|
|
4038
|
-
auditsRatio: Literal(
|
|
4038
|
+
auditsRatio: Literal(1, {
|
|
4039
4039
|
label: 'Current Audit Ratio',
|
|
4040
4040
|
editable: true,
|
|
4041
4041
|
required: true,
|
|
4042
4042
|
}),
|
|
4043
|
-
auditsAssigned: Literal(
|
|
4043
|
+
auditsAssigned: Literal(1, {
|
|
4044
4044
|
editable: true,
|
|
4045
4045
|
required: true,
|
|
4046
4046
|
label: 'Fewest Pending Audits',
|
|
4047
4047
|
}),
|
|
4048
|
-
levelProximity: Literal(
|
|
4048
|
+
levelProximity: Literal(1, {
|
|
4049
4049
|
editable: true,
|
|
4050
4050
|
required: true,
|
|
4051
4051
|
label: 'Level Proximity',
|
|
4052
4052
|
}),
|
|
4053
|
-
lastAuditAttributed: Literal(
|
|
4053
|
+
lastAuditAttributed: Literal(1, {
|
|
4054
4054
|
editable: true,
|
|
4055
4055
|
required: true,
|
|
4056
4056
|
label: 'Last Audit Attributed',
|
|
@@ -4266,7 +4266,8 @@ const sharedBranchOptions = {
|
|
|
4266
4266
|
hidden: true,
|
|
4267
4267
|
}
|
|
4268
4268
|
|
|
4269
|
-
const getBranchOptions =
|
|
4269
|
+
const getBranchOptions = object => {
|
|
4270
|
+
const limit = 9
|
|
4270
4271
|
const branchCounts = {}
|
|
4271
4272
|
for (const child of Object.values(object.parent.children || {})) {
|
|
4272
4273
|
const branch = child.attrs.branch
|