@overmap-ai/core 1.0.71-fields.7 → 1.0.71-fields.8

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.
@@ -3057,7 +3057,7 @@ var __publicField = (obj, key, value) => {
3057
3057
  );
3058
3058
  const selectLatestIssueTypeFieldsOfIssueType = restructureCreateSelectorWithArgs(
3059
3059
  toolkit.createSelector([selectIssueTypeFields, (_state, id) => id], (fields, id) => {
3060
- return fields.filter((field) => field.issue_type === id).sort((a, b) => a.submitted_at < b.submitted_at ? -1 : 1)[0];
3060
+ return fields.filter((field) => field.issue_type === id).sort((a, b) => a.submitted_at > b.submitted_at ? -1 : 1)[0];
3061
3061
  })
3062
3062
  );
3063
3063
  const selectIssueTypeValuesOfIssueType = restructureCreateSelectorWithArgs(
@@ -3217,7 +3217,7 @@ var __publicField = (obj, key, value) => {
3217
3217
  );
3218
3218
  const selectLatestAssetTypeFieldsOfAssetType = restructureCreateSelectorWithArgs(
3219
3219
  toolkit.createSelector([selectAssetTypeFields, (_state, id) => id], (fields, id) => {
3220
- return fields.filter((field) => field.asset_type === id).sort((a, b) => a.submitted_at < b.submitted_at ? -1 : 1)[0];
3220
+ return fields.filter((field) => field.asset_type === id).sort((a, b) => a.submitted_at > b.submitted_at ? -1 : 1)[0];
3221
3221
  })
3222
3222
  );
3223
3223
  const selectAssetTypeFieldsById = (fieldsId) => (state) => {