@overmap-ai/core 1.0.71-workspace-settings.1 → 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.
|
@@ -1128,8 +1128,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1128
1128
|
const selectStagesOfAssetType = restructureCreateSelectorWithArgs(
|
|
1129
1129
|
toolkit.createSelector([selectAssetStages, (_state, assetTypeId) => assetTypeId], (stages, assetTypeId) => {
|
|
1130
1130
|
const stagesOfAssetType = stages.filter((stage) => stage.asset_type === assetTypeId);
|
|
1131
|
-
|
|
1132
|
-
return fallbackToEmptyArray(sortedStages);
|
|
1131
|
+
return fallbackToEmptyArray([...stagesOfAssetType].sort((a, b) => a.priority - b.priority));
|
|
1133
1132
|
})
|
|
1134
1133
|
);
|
|
1135
1134
|
const selectAssetStagesByIds = restructureCreateSelectorWithArgs(
|