Skip to content

Commit 590b39c

Browse files
author
lafricain79
committed
fix: set default value to 1 when enabling max submissions
1 parent a690285 commit 590b39c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export default {
399399
},
400400
401401
onMaxSubmissionsChange(checked) {
402-
this.$emit('update:form-prop', 'maxSubmissions', checked ? null : null)
402+
this.$emit('update:form-prop', 'maxSubmissions', checked ? 1 : null)
403403
},
404404
405405
onMaxSubmissionsValueChange(event) {

0 commit comments

Comments
 (0)