diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-19 19:42:35 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-19 22:45:13 +0200 |
commit | 4bcb0734cd8b72ca364eca380b4c7e525cd5a0de (patch) | |
tree | ce7b2d1333d94fde935cc8816f4d99366d543146 /apps/settings/src | |
parent | 2e273e477abfc992e2841c3b3b8f19839505a944 (diff) | |
download | nextcloud-server-4bcb0734cd8b72ca364eca380b4c7e525cd5a0de.tar.gz nextcloud-server-4bcb0734cd8b72ca364eca380b4c7e525cd5a0de.zip |
refactor: Fix some linting issues in frontend code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/Users/NewUserDialog.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/main-personal-security.js | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/settings/src/components/Users/NewUserDialog.vue b/apps/settings/src/components/Users/NewUserDialog.vue index 29bfc277e18..5547fed2216 100644 --- a/apps/settings/src/components/Users/NewUserDialog.vue +++ b/apps/settings/src/components/Users/NewUserDialog.vue @@ -100,7 +100,7 @@ </div> <div v-if="showConfig.showLanguages" class="dialog__item"> - <NcSelect v-model="newUser.language" + <NcSelect v-model="newUser.language" class="dialog__select" :input-label="t('settings', 'Language')" :placeholder="t('settings', 'Set default language')" diff --git a/apps/settings/src/main-personal-security.js b/apps/settings/src/main-personal-security.js index 54e761ae680..4582bb0ec5b 100644 --- a/apps/settings/src/main-personal-security.js +++ b/apps/settings/src/main-personal-security.js @@ -3,12 +3,12 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ +import { getRequestToken } from '@nextcloud/auth' +import { PiniaVuePlugin, createPinia } from 'pinia' +import VTooltipPlugin from 'v-tooltip' import Vue from 'vue' -import VTooltip from 'v-tooltip' import AuthTokenSection from './components/AuthTokenSection.vue' -import { getRequestToken } from '@nextcloud/auth' -import { PiniaVuePlugin, createPinia } from 'pinia' import '@nextcloud/password-confirmation/dist/style.css' @@ -18,7 +18,7 @@ __webpack_nonce__ = btoa(getRequestToken()) const pinia = createPinia() Vue.use(PiniaVuePlugin) -Vue.use(VTooltip, { defaultHtml: false }) +Vue.use(VTooltipPlugin, { defaultHtml: false }) Vue.prototype.t = t const View = Vue.extend(AuthTokenSection) |