mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
remove leading and trailing whitespaces from bulk add entries (#921)
This commit is contained in:
parent
8a8ee40f4f
commit
951f92e1ba
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user