adds both singular and plural labels to Blocks and Array, adjusts impacted files accordingly

This commit is contained in:
James
2020-10-08 21:33:37 -04:00
parent 09cc61c96a
commit f9b7e3239e
17 changed files with 246 additions and 47 deletions

View File

@@ -45,7 +45,9 @@ describe('sanitizeFields', () => {
const fields = [{
name: 'layout',
label: 'Layout Blocks',
singularLabel: 'Block',
labels: {
singular: 'Block',
},
type: 'blocks',
blocks: [{
fields: [{
@@ -92,7 +94,9 @@ describe('sanitizeFields', () => {
const fields = [{
name: 'layout',
label: 'Layout Blocks',
singularLabel: 'Block',
labels: {
singular: 'Block',
},
type: 'blocks',
blocks: [{
fields: [{