diff --git a/plugins/view-resources/src/components/TableBrowser.svelte b/plugins/view-resources/src/components/TableBrowser.svelte index 92521ae6ab..a8454a0bcb 100644 --- a/plugins/view-resources/src/components/TableBrowser.svelte +++ b/plugins/view-resources/src/components/TableBrowser.svelte @@ -52,16 +52,6 @@ onMount(() => { ;(document.activeElement as HTMLElement)?.blur() }) - - // Search config - const _config = config - - function updateConfig (config: Array, search?: string): void { - const useSearch = search !== '' && search != null - prefferedSorting = !useSearch ? prefferedSorting : '#score' - } - - $: updateConfig(config, query.$search) @@ -76,7 +66,7 @@