Skip to content

Commit 457d934

Browse files
author
lafricain79
committed
fix: fix remaining ESLint errors
1 parent 2f15a21 commit 457d934

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/components/Questions/AnswerInput.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ export default {
294294
295295
/**
296296
* Request a new answer
297+
*
298+
* @param {Event} e
297299
*/
298300
focusNextInput(e) {
299301
if (this.isIMEComposing || e?.isComposing) {

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ import moment from '@nextcloud/moment'
208208
import { directive as ClickOutside } from 'v-click-outside'
209209
import NcButton from '@nextcloud/vue/components/NcButton'
210210
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
211-
import NcInputField from '@nextcloud/vue/components/NcInputField'
212211
import NcDateTimePicker from '@nextcloud/vue/components/NcDateTimePicker'
213212
import NcIconSvgWrapper from '@nextcloud/vue/components/NcIconSvgWrapper'
213+
import NcInputField from '@nextcloud/vue/components/NcInputField'
214214
import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
215215
import TransferOwnership from './TransferOwnership.vue'
216216
import svgLockOpen from '../../../img/lock_open.svg?raw'
@@ -341,6 +341,7 @@ export default {
341341
get() {
342342
return this.form.maxSubmissions ?? 1
343343
},
344+
344345
set(value) {
345346
this.$emit('update:form-prop', 'maxSubmissions', value)
346347
},

src/views/Submit.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@
7979
class="forms-emptycontent"
8080
:name="t('forms', 'Form is full')"
8181
:description="
82-
t(
83-
'forms',
84-
'This form has reached the maximum number of answers',
85-
)
82+
t('forms', 'This form has reached the maximum number of answers')
8683
">
8784
<template #icon>
8885
<NcIconSvgWrapper :svg="IconCheckSvg" size="64" />
@@ -373,6 +370,7 @@ export default {
373370
isClosed() {
374371
return this.form.state === FormState.FormClosed
375372
},
373+
376374
isMaxSubmissionsReached() {
377375
return this.form.isMaxSubmissionsReached === true
378376
},

0 commit comments

Comments
 (0)