()
| 72 | } |
| 73 | |
| 74 | async function submitSearchQuery() { |
| 75 | const trimmedQuery = query.value.trim() |
| 76 | if (!trimmedQuery) return |
| 77 | |
| 78 | close() |
| 79 | await navigateTo({ |
| 80 | name: 'search', |
| 81 | query: { |
| 82 | q: trimmedQuery, |
| 83 | }, |
| 84 | }) |
| 85 | } |
| 86 | |
| 87 | const trimmedQuery = computed(() => query.value.trim()) |
| 88 | const { globalCommands, viewDefinitions } = useCommandPaletteGlobalCommands() |
no test coverage detected