add missing persist for anonymous submissions
This commit is contained in:
parent
ea718a2e44
commit
9f919f2daf
@ -19,6 +19,7 @@ export class FormCreateService {
|
|||||||
form.title = input.title
|
form.title = input.title
|
||||||
form.isLive = Boolean(input.isLive)
|
form.isLive = Boolean(input.isLive)
|
||||||
form.showFooter = Boolean(input.showFooter)
|
form.showFooter = Boolean(input.showFooter)
|
||||||
|
form.anonymousSubmission = Boolean(input.anonymousSubmission)
|
||||||
form.language = input.language || 'en'
|
form.language = input.language || 'en'
|
||||||
form.design.layout = input.layout
|
form.design.layout = input.layout
|
||||||
|
|
||||||
|
|||||||
@ -36,6 +36,10 @@ export class FormUpdateService {
|
|||||||
form.showFooter = input.showFooter
|
form.showFooter = input.showFooter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (input.anonymousSubmission !== undefined) {
|
||||||
|
form.anonymousSubmission = input.anonymousSubmission
|
||||||
|
}
|
||||||
|
|
||||||
if (input.isLive !== undefined) {
|
if (input.isLive !== undefined) {
|
||||||
form.isLive = input.isLive
|
form.isLive = input.isLive
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user