Skip to content

Commit

Permalink
Merge pull request #46649 from nextcloud/refactor/code-style
Browse files Browse the repository at this point in the history
refactor: Fix some linting issues in frontend code
  • Loading branch information
susnux authored Jul 19, 2024
2 parents 2e273e4 + 19cd710 commit 79fe83e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion apps/settings/src/components/Users/NewUserDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down
8 changes: 4 additions & 4 deletions apps/settings/src/main-personal-security.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions core/src/components/UnifiedSearch/UnifiedSearchModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -311,7 +313,7 @@ export default defineComponent({
immediate: true,
handler() {
this.searchQuery = this.query.trim()
}
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions dist/core-unified-search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-unified-search.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/settings-users-3239.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-users-3239.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/settings-vue-settings-apps-users-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-vue-settings-apps-users-management.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/settings-vue-settings-personal-security.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-vue-settings-personal-security.js.map

Large diffs are not rendered by default.

0 comments on commit 79fe83e

Please sign in to comment.