From c1040dadee8a01bc06597ece85152441117e62ea Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Fri, 12 Jul 2024 20:57:46 +0200 Subject: [PATCH] chore: remove vue-shortkey directive initialization Signed-off-by: Maksim Sukharev --- src/main.js | 2 -- src/mainFilesSidebar.js | 2 -- src/mainPublicShareAuthSidebar.js | 2 -- src/mainPublicShareSidebar.js | 2 -- src/mainRecording.js | 2 -- 5 files changed, 10 deletions(-) diff --git a/src/main.js b/src/main.js index 62c86156858..9c74e5000c5 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,6 @@ import { createPinia, PiniaVuePlugin } from 'pinia' import Vue from 'vue' import VueRouter from 'vue-router' -import VueShortKey from 'vue-shortkey' import Vuex from 'vuex' import { getRequestToken } from '@nextcloud/auth' @@ -47,7 +46,6 @@ Vue.prototype.OCA = OCA Vue.use(PiniaVuePlugin) Vue.use(Vuex) Vue.use(VueRouter) -Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const pinia = createPinia() diff --git a/src/mainFilesSidebar.js b/src/mainFilesSidebar.js index 7a9f1640b9a..7191e0a8bc3 100644 --- a/src/mainFilesSidebar.js +++ b/src/mainFilesSidebar.js @@ -5,7 +5,6 @@ import { createPinia, PiniaVuePlugin } from 'pinia' import Vue from 'vue' -import VueShortKey from 'vue-shortkey' import Vuex from 'vuex' import { getRequestToken } from '@nextcloud/auth' @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA Vue.use(PiniaVuePlugin) Vue.use(Vuex) -Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const pinia = createPinia() diff --git a/src/mainPublicShareAuthSidebar.js b/src/mainPublicShareAuthSidebar.js index a51738ba29e..730ce8bbfc3 100644 --- a/src/mainPublicShareAuthSidebar.js +++ b/src/mainPublicShareAuthSidebar.js @@ -5,7 +5,6 @@ import { createPinia, PiniaVuePlugin } from 'pinia' import Vue from 'vue' -import VueShortKey from 'vue-shortkey' import Vuex from 'vuex' import { getRequestToken } from '@nextcloud/auth' @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA Vue.use(PiniaVuePlugin) Vue.use(Vuex) -Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const pinia = createPinia() store.dispatch('setMainContainerSelector', '#talk-sidebar') diff --git a/src/mainPublicShareSidebar.js b/src/mainPublicShareSidebar.js index 0fe180f2a50..bee64912723 100644 --- a/src/mainPublicShareSidebar.js +++ b/src/mainPublicShareSidebar.js @@ -5,7 +5,6 @@ import { createPinia, PiniaVuePlugin } from 'pinia' import Vue, { reactive } from 'vue' -import VueShortKey from 'vue-shortkey' import Vuex from 'vuex' import { getRequestToken } from '@nextcloud/auth' @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA Vue.use(PiniaVuePlugin) Vue.use(Vuex) -Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const pinia = createPinia() diff --git a/src/mainRecording.js b/src/mainRecording.js index 121d9e5f2c3..56008069664 100644 --- a/src/mainRecording.js +++ b/src/mainRecording.js @@ -7,7 +7,6 @@ import { createPinia, PiniaVuePlugin } from 'pinia' import Vue from 'vue' import VueRouter from 'vue-router' -import VueShortKey from 'vue-shortkey' import Vuex from 'vuex' import { getRequestToken } from '@nextcloud/auth' @@ -50,7 +49,6 @@ Vue.prototype.OCA = OCA Vue.use(PiniaVuePlugin) Vue.use(Vuex) Vue.use(VueRouter) -Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) const pinia = createPinia()