remove leading and trailing whitespaces from bulk add entries (#921)

This commit is contained in:
Steven Massaro 2022-02-03 14:32:09 -06:00 committed by GitHub
parent 8a8ee40f4f
commit 951f92e1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export default {
} }
}); });
return split; return split.map((element) => element.trim());
}, },
save() { save() {
this.$emit("bulk-data", this.splitText()); this.$emit("bulk-data", this.splitText());