From 6b0b6f7fa65347d97f4b371d7115b4d2afd51c85 Mon Sep 17 00:00:00 2001 From: Filippov Alex Date: Thu, 25 Jan 2024 23:45:21 +0530 Subject: [PATCH] technical debt --- .../src/views/Dashboard/components/KeystrokeCaptureViewer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static_source/admin/src/views/Dashboard/components/KeystrokeCaptureViewer.vue b/static_source/admin/src/views/Dashboard/components/KeystrokeCaptureViewer.vue index c0a10f47b..bd38f9732 100644 --- a/static_source/admin/src/views/Dashboard/components/KeystrokeCaptureViewer.vue +++ b/static_source/admin/src/views/Dashboard/components/KeystrokeCaptureViewer.vue @@ -2,7 +2,7 @@ import {computed, PropType} from "vue"; import {Card, Core} from "@/views/Dashboard/core"; -import {useEmitt} from "@/hooks/web/useEmitt"; +import {useEventBus} from "@/hooks/event/useEventBus"; import {ApiEntityCallActionRequest, ApiTypes} from "@/api/stub"; import api from "@/api/api"; import {propTypes} from "@/utils/propTypes"; @@ -34,7 +34,7 @@ const currentCard = computed({ // component methods // --------------------------------- -useEmitt({ +useEventBus({ name: 'keydown', callback: (val) => {