Selaa lähdekoodia

trim beim medienimport

hmt 4 vuotta sitten
vanhempi
sitoutus
87242116ef
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/components/Einstellungen.svelte

+ 1 - 1
src/components/Einstellungen.svelte

@@ -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);