mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-21 06:48:04 +00:00
Menus and keyboard shortcuts
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
import Remove from './remove.svelte';
|
||||
import Stats from './stats.svelte';
|
||||
import Update from './update.svelte';
|
||||
import { EventsOn } from '../../../../wailsjs/runtime/runtime';
|
||||
|
||||
export let collection;
|
||||
export let hostKey;
|
||||
@ -23,6 +24,8 @@
|
||||
collection.key = collectionKey;
|
||||
}
|
||||
|
||||
EventsOn('OpenCollectionTab', name => (tab = name || tab));
|
||||
|
||||
async function catchQuery(event) {
|
||||
tab = 'find';
|
||||
await tick();
|
||||
|
Reference in New Issue
Block a user