Snapshot before refactoring the rule settings to a separate component
This commit is contained in:
parent
6fbbe9a497
commit
d0a714b3d4
6 changed files with 474 additions and 149 deletions
|
@ -20,11 +20,7 @@ exports.up = (knex, Promise) => (async() => {
|
|||
settings.groupTemplate = field.group_template;
|
||||
}
|
||||
|
||||
if (type === 'checkbox') {
|
||||
settings.groupTemplate = field.group_template;
|
||||
}
|
||||
|
||||
if (['dropdown', 'radio'].includes(type)) {
|
||||
if (['checkbox', 'dropdown', 'radio'].includes(type)) {
|
||||
settings.groupTemplate = field.group_template;
|
||||
type = type + '-grouped';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue