@autobusal/operator-routes 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/Manage.tsx +2 -2
  2. package/package.json +1 -1
package/Manage.tsx CHANGED
@@ -140,14 +140,14 @@ const Manage = ({ url, t }: Props): JSX.Element => {
140
140
  name: 'language',
141
141
  type: 'select',
142
142
  values: getLanguagesExtended(),
143
- value: data?.language,
143
+ value: data?.language ?? 'en',
144
144
  rules: 'required'
145
145
  }, {
146
146
  label: t('operator_routes.manage.template', { ns: 'common' }),
147
147
  name: 'template',
148
148
  type: 'select',
149
149
  values: getTemplates(t),
150
- value: data?.template,
150
+ value: data?.template ?? 'standard',
151
151
  rules: 'required'
152
152
  }, {}, {
153
153
  label: t('operator_routes.manage.locations.title', { ns: 'common' }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/operator-routes",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }