mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
refactor: Fix some linting issues in frontend code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
2e273e477a
commit
4bcb0734cd
3 changed files with 10 additions and 8 deletions
|
|
@ -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')"
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
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 VTooltipPlugin from 'v-tooltip'
|
||||
import Vue from 'vue'
|
||||
|
||||
import AuthTokenSection from './components/AuthTokenSection.vue'
|
||||
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@
|
|||
</div>
|
||||
|
||||
<div v-else class="unified-search-modal__results">
|
||||
<h3 class="hidden-visually">{{ t('core', 'Results') }}</h3>
|
||||
<h3 class="hidden-visually">
|
||||
{{ t('core', 'Results') }}
|
||||
</h3>
|
||||
<div v-for="providerResult in results" :key="providerResult.id" class="result">
|
||||
<h4 :id="`unified-search-result-${providerResult.id}`" class="result-title">
|
||||
{{ providerResult.provider }}
|
||||
|
|
@ -311,7 +313,7 @@ export default defineComponent({
|
|||
immediate: true,
|
||||
handler() {
|
||||
this.searchQuery = this.query.trim()
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue