mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 12:04:42 +00:00
blacken search component
This commit is contained in:
1 parent
efd7f84b1f
commit
61e7ff7188
9 files changed
+233
-128
No files matched your search
@@ -20,6 +20,7 @@ import SearchBox from "@/components/FolderView/SearchBox.vue";
|
||||
|
||||
import getData from "../composables/getFiles.js";
|
||||
import { onMounted, watch } from "@vue/runtime-core";
|
||||
import perks from "@/composables/perks.js";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -53,6 +54,7 @@ export default {
|
||||
getPathFolders(path.value);
|
||||
|
||||
watch(route, (new_route) => {
|
||||
perks.search.value = "";
|
||||
path.value = new_route.params.path;
|
||||
getPathFolders(path.value);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user