@autobusal/operator-routes 1.1.1 → 1.1.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/CHANGELOG.md +11 -0
- package/Transiting/Manage.tsx +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this package are documented here. This project follows [Keep a Changelog](https://keepachangelog.com/) and [Semantic Versioning](https://semver.org/).
|
|
4
|
+
|
|
5
|
+
## [1.1.2] - 2026-07-19
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `Transiting/Manage.tsx`: relaxed the transiting-country select's validation rule from `required|min:1` to `required`. The `min:1` rule was rejecting the field's default value of `0`, making a valid country selection unsubmittable; `required` alone correctly enforces that a country is chosen without misfiring on the `0` sentinel.
|
|
10
|
+
|
|
11
|
+
Authored by Ferjolt Ozuni. Consolidated from the magus and alvavel whitelabel patch sets into canonical @autobusal source (eliminates per-repo patch-package divergence).
|
package/Transiting/Manage.tsx
CHANGED
|
@@ -86,7 +86,7 @@ const Manage = ({ url, t }: Props): JSX.Element => {
|
|
|
86
86
|
type: 'select',
|
|
87
87
|
values: filterCountries(data?.transiting ?? [], CountriesData),
|
|
88
88
|
value: 0,
|
|
89
|
-
rules: 'required
|
|
89
|
+
rules: 'required'
|
|
90
90
|
}] }
|
|
91
91
|
fetching={ isFetching }
|
|
92
92
|
pending={ isPendingSave || isPendingDelete }
|