diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2020-04-06 19:47:56 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@pm.me> | 2020-04-06 19:47:56 +0300 |
commit | fa62940a1727a1d9f6fbb29f218af9484b65dc55 (patch) | |
tree | 5c0e8835451b5e3393f656ee997cef7a6f16f8c0 /src/mainPublicShareAuthSidebar.js | |
parent | 3468a90b4ef69e7aaca2643581532778e2e9b675 (diff) |
Create browserCheck mixin
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/mainPublicShareAuthSidebar.js')
-rw-r--r-- | src/mainPublicShareAuthSidebar.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainPublicShareAuthSidebar.js b/src/mainPublicShareAuthSidebar.js index 898450f56..cab33cab1 100644 --- a/src/mainPublicShareAuthSidebar.js +++ b/src/mainPublicShareAuthSidebar.js @@ -30,6 +30,9 @@ import store from './store' import { generateFilePath } from '@nextcloud/router' import { getRequestToken } from '@nextcloud/auth' +// Plugins +import browserDetect from 'vue-browser-detect-plugin' + // Directives import { translate, translatePlural } from '@nextcloud/l10n' import VueShortKey from 'vue-shortkey' @@ -52,6 +55,7 @@ Vue.prototype.OCA = OCA Vue.use(Vuex) Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) +Vue.use(browserDetect) /** * Wraps all the body contents in its own container. |