Fixes bubble for search and #1886

This commit is contained in:
Amir Raminfar
2022-09-20 14:30:54 -07:00
parent 3268c32627
commit e99e6ebd49

View File

@@ -50,7 +50,12 @@ import FuzzySearchModal from "@/components/FuzzySearchModal.vue";
const collapseNav = ref(false);
const { oruga } = useProgrammatic();
const { authorizationNeeded } = config;
const { Meta_K, Ctrl_K } = useMagicKeys();
const { Meta_K, Ctrl_K } = useMagicKeys({
passive: false,
onEventFired(e) {
if ((e.ctrlKey || e.metaKey) && e.key === "k" && e.type === "keydown") e.preventDefault();
},
});
const containerStore = useContainerStore();
const { activeContainers, visibleContainers } = storeToRefs(containerStore);