fix: file size limit for guest pages (#359)
This commit is contained in:
@@ -343,7 +343,7 @@ export default {
|
||||
return !this.typesWithoutPlaceholder.includes(this.field.type)
|
||||
},
|
||||
mbLimit() {
|
||||
return this.form?.max_file_size ?? this.currentWorkspace?.max_file_size
|
||||
return (this.form?.workspace && this.form?.workspace.max_file_size) ? this.form?.workspace?.max_file_size : 10
|
||||
},
|
||||
prefillSelectsOptions() {
|
||||
if (!['select', 'multi_select'].includes(this.field.type)) return {}
|
||||
|
||||
Reference in New Issue
Block a user