Skip to content

Commit

Permalink
bugfix select
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Apr 29, 2022
1 parent 53bf117 commit bb957d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Medien.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
(selected = Object.keys(medien_filter)[0]);
const scaninterface = { update, rueckgabe, zuordnung };
let suchfeld;
$: if (Object.keys(medien_filter).length === 1 && Object.values(medien_filter)[0].length === 1) {
$: if (Object.keys(medien_filter).length === 1 && Object.values(medien_filter)[0][0].barcode?.toLowerCase()===suche.toLowerCase()) {
suchfeld.select()
};
</script>
Expand Down

0 comments on commit bb957d5

Please sign in to comment.