Merge pull request #46649 from nextcloud/refactor/code-style

refactor: Fix some linting issues in frontend code
pull/46650/head
Ferdinand Thiessen 2024-07-19 23:54:03 +07:00 committed by GitHub
commit 79fe83eb1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 21 additions and 19 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 { 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)

@ -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()
}
},
},
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long