@overmap-ai/core 1.0.71-workspace-settings.0 → 1.0.71-workspace-settings.2
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/dist/overmap-core.js
CHANGED
|
@@ -1139,7 +1139,7 @@ const selectAssetTypeStagesMapping = restructureCreateSelectorWithArgs(
|
|
|
1139
1139
|
const selectStagesOfAssetType = restructureCreateSelectorWithArgs(
|
|
1140
1140
|
createSelector([selectAssetStages, (_state, assetTypeId) => assetTypeId], (stages, assetTypeId) => {
|
|
1141
1141
|
const stagesOfAssetType = stages.filter((stage) => stage.asset_type === assetTypeId);
|
|
1142
|
-
return fallbackToEmptyArray(stagesOfAssetType.sort((a, b) => a.priority - b.priority));
|
|
1142
|
+
return fallbackToEmptyArray([...stagesOfAssetType].sort((a, b) => a.priority - b.priority));
|
|
1143
1143
|
})
|
|
1144
1144
|
);
|
|
1145
1145
|
const selectAssetStagesByIds = restructureCreateSelectorWithArgs(
|