Skip to content

Commit

Permalink
trim beim medienimport
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Aug 29, 2020
1 parent 82d8e64 commit 8724211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Einstellungen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"INSERT INTO medienbezeichnung (name) VALUES (?)"
);
const insertMany = $db.transaction((medien) => {
for (const medium of medien) insert.run(medium);
for (const medium of medien) insert.run(medium.trim());
});
try {
insertMany(medien);
Expand Down

0 comments on commit 8724211

Please sign in to comment.