File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99### Added
10+
1011### Changed
12+
13+ ### Fixed
14+
15+ ## [ 1.10.1] - 2021-09-29
1116### Fixed
17+ - Fixed project import [ #1029 ] ( https://github.com/PublicMapping/districtbuilder/pull/1029 )
1218
1319## [ 1.10.0] - 2021-09-28
1420### Added
@@ -334,7 +340,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
334340
335341- Initial release.
336342
337- [ unreleased ] : https://github.com/publicmapping/districtbuilder/compare/1.10.0...HEAD
343+ [ unreleased ] : https://github.com/publicmapping/districtbuilder/compare/1.10.1...HEAD
344+ [ 1.10.1 ] : https://github.com/publicmapping/districtbuilder/compare/1.10.0...1.10.1
338345[ 1.10.0 ] : https://github.com/publicmapping/districtbuilder/compare/1.9.0...1.10.0
339346[ 1.9.0 ] : https://github.com/publicmapping/districtbuilder/compare/1.8.0...1.9.0
340347[ 1.8.0 ] : https://github.com/publicmapping/districtbuilder/compare/1.7.2...1.8.0
Original file line number Diff line number Diff line change @@ -404,8 +404,10 @@ const ImportProjectScreen = ({ regionConfigs }: StateProps) => {
404404 const validatedForm = validate ( formData , importResource ) ;
405405 if ( validatedForm . valid === true ) {
406406 setCreateProjectResource ( { data : formData , isPending : true } ) ;
407+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
408+ const { isCustom, valid, ...validatedData } = validatedForm ;
407409 createProject ( {
408- ...validatedForm ,
410+ ...validatedData ,
409411 name : validatedForm . regionConfig . name
410412 } )
411413 . then ( ( project : IProject ) =>
You can’t perform that action at this time.
0 commit comments