Skip to content

Commit 27b5cfa

Browse files
committed
fixup! run lint:fix
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent e856aa8 commit 27b5cfa

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/components/Questions/QuestionGrid.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export default {
203203
},
204204
205205
mixins: [QuestionMixin, QuestionMultipleMixin],
206+
emits: ['update:values'],
206207
207208
data() {
208209
return {

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@
7979
</NcCheckboxRadioSwitch>
8080
</div>
8181
<NcCheckboxRadioSwitch
82-
:model-value="hasMaxSubmissions"
82+
:modelValue="hasMaxSubmissions"
8383
:disabled="formArchived || locked"
8484
type="switch"
85-
@update:model-value="onMaxSubmissionsChange">
85+
@update:modelValue="onMaxSubmissionsChange">
8686
{{ t('forms', 'Limit number of responses') }}
8787
</NcCheckboxRadioSwitch>
8888
<div
@@ -94,7 +94,7 @@
9494
:min="1"
9595
:disabled="locked"
9696
:label="t('forms', 'Maximum number of responses')"
97-
@update:model-value="onMaxSubmissionsValueChange" />
97+
@update:modelValue="onMaxSubmissionsValueChange" />
9898
<p class="settings-hint">
9999
{{
100100
t(
@@ -108,7 +108,7 @@
108108
:modelValue="hasMaxSubmissions"
109109
:disabled="formArchived || locked"
110110
type="switch"
111-
@update:model-value="onMaxSubmissionsChange">
111+
@update:modelValue="onMaxSubmissionsChange">
112112
{{ t('forms', 'Limit number of responses') }}
113113
</NcCheckboxRadioSwitch>
114114
<div
@@ -120,7 +120,7 @@
120120
:min="1"
121121
:disabled="locked"
122122
:label="t('forms', 'Maximum number of responses')"
123-
@update:model-value="onMaxSubmissionsValueChange" />
123+
@update:modelValue="onMaxSubmissionsValueChange" />
124124
<p class="settings-hint">
125125
{{
126126
t(

src/mixins/QuestionMultipleMixin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ export default defineComponent({
172172
*
173173
* @param index the index of the answer
174174
* @param answer - The new answer option to be added.
175-
* @return
176175
*/
177176
onCreateAnswer(index: number, answer: FormsOption): void {
178177
this.$nextTick(() => {
@@ -233,7 +232,7 @@ export default defineComponent({
233232
/**
234233
* Remove any empty options when leaving an option
235234
*
236-
* @param optionType
235+
* @param optionType The type of options to validate
237236
*/
238237
checkValidOption(optionType: string) {
239238
// When leaving edit mode, filter and delete empty options

0 commit comments

Comments
 (0)