mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-28 18:38:24 -05:00
refactor(shortcuts): update directive to use new shortcut module
Change import in the v-shortcut directive from @github/hotkey to the new @/helpers/shortcut module. The install/uninstall API is identical.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type {Directive} from 'vue'
|
||||
import {install, uninstall} from '@github/hotkey'
|
||||
import {install, uninstall} from '@/helpers/shortcut'
|
||||
|
||||
const directive = <Directive<HTMLElement,string>>{
|
||||
mounted(el, {value}) {
|
||||
|
||||
Reference in New Issue
Block a user