@bytebrand/export-cars 1.22.14 → 1.22.15

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.22.14",
3
+ "version": "1.22.15",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -175,7 +175,10 @@ export class FbTransformer {
175
175
  }
176
176
 
177
177
  private getTitle(car: DataSchemes.Car): string {
178
- const year = toString(get(car, 'mainData.constructionYear', ''));
178
+ let year = toString(get(car, 'mainData.constructionYear', ''));
179
+ if (year === '0') {
180
+ year = '';
181
+ }
179
182
  const make = toString(get(car, 'mainData.make', ''));
180
183
  const model = toString(get(car, 'mainData.model', ''));
181
184
  const subModel = toString(get(car, 'mainData.subModel', ''));