@pacaf/wizard-ux 3.0.4 → 3.0.5
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/package.json
CHANGED
|
@@ -307,6 +307,10 @@ export default {
|
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
+
// Sort solutions A→Z by display name (case-insensitive) so the list is
|
|
311
|
+
// predictable regardless of creation order or environment size. Closes #30.
|
|
312
|
+
solutions.sort((a, b) => a.label.localeCompare(b.label, undefined, { sensitivity: 'base' }));
|
|
313
|
+
|
|
310
314
|
const makerLink = getMakerPortalLink();
|
|
311
315
|
|
|
312
316
|
const defaultSelection = state.SOLUTION_ID && solutions.some((s) => s.value === state.SOLUTION_ID)
|