lib/generators/wcc/templates/menu/generated_add_menus.ts in wcc-contentful-0.2.1 vs lib/generators/wcc/templates/menu/generated_add_menus.ts in wcc-contentful-0.2.2
- old
+ new
@@ -59,9 +59,14 @@
menuButton.createField('icon')
.name('Icon')
.type('Link')
.linkType('Asset')
+ .validations([
+ {
+ linkMimetypeGroup: ['image']
+ }
+ ])
menuButton.createField('externalLink')
.name('External Link')
.type('Symbol')
.validations([