buttercup / buttercup-importer

:fishing_pole_and_fish: 3rd-party archive importer for Buttercup
https://buttercup.pw
MIT License
43 stars 13 forks source link

Do Not Import Empty Custom Fields from Buttercup CSV #70

Closed tnewman closed 1 year ago

tnewman commented 2 years ago

Fixes #69

When a Buttercup CSV with extra properties is saved, every possible extra property key is imported into all entries, even if the entry doesn't define the extra property.

This PR adds a check when importing the Buttercup CSV to ignore extra properties that don't have a value. This prevents empty extra properties from showing up in the UI after an import.