début des fix

This commit is contained in:
2025-04-21 11:03:36 +02:00
parent a540d12ed2
commit 448ec5c647
11 changed files with 367 additions and 127 deletions

View File

@@ -2,6 +2,7 @@
import {lectureListIsOpen, playlistsIsOpen} from '../stores/globalStore.ts'
import {searchStore} from '../stores/dataStore.ts'
import SearchIcon from "../assets/Icons/SearchIcon.vue";
import {onMounted} from "vue";
const search = searchStore();
@@ -13,6 +14,10 @@ const updateSearch = (event: Event) => {
playlists.closePlaylists();
search.updateSearch((event.target as HTMLInputElement).value);
};
onMounted(() => {
(document.querySelector('.input') as HTMLInputElement).value = search.searchQuery;
});
</script>
<template>