Fixed search shortcut

This commit is contained in:
Alexis
2025-08-24 11:38:10 +02:00
parent e7cef314a1
commit 674a38c30d

View File

@@ -195,10 +195,9 @@ function handleEntitySwitch() {
// Key combos to deploy modal
const keys = useMagicKeys()
const controlPeriod = computed(() => keys.control_period?.value)
whenever(keys.control_period, () => {
openUiDialog()
})
whenever(controlPeriod, openUiDialog)
const searchResultsRef = ref<HTMLElement | null>(null)
const { y: searchResultsY } = useScroll(searchResultsRef)