chore(shared): Changes for recent core changes
This commit is contained in:
parent
f31a158398
commit
31a28d2faa
16 changed files with 56 additions and 58 deletions
|
@ -13,27 +13,27 @@ const View = (props) => {
|
|||
},
|
||||
{
|
||||
name: 'draft',
|
||||
title: t('draftDesign', { design: props.design.config.data.name }),
|
||||
title: t('draftDesign', { design: props.design.designConfig.data.name }),
|
||||
onClick: () => props.updateGist(['_state', 'view'], 'draft', true),
|
||||
},
|
||||
{
|
||||
name: 'test',
|
||||
title: t('testDesign', { design: props.design.config.data.name }),
|
||||
title: t('testDesign', { design: props.design.designConfig.data.name }),
|
||||
onClick: () => props.updateGist(['_state', 'view'], 'test', true),
|
||||
},
|
||||
{
|
||||
name: 'printingLayout',
|
||||
title: t('layoutThing', { thing: props.design.config.data.name }) + ': ' + t('forPrinting'),
|
||||
title: t('layoutThing', { thing: props.design.designConfig.data.name }) + ': ' + t('forPrinting'),
|
||||
onClick: () => props.updateGist(['_state', 'view'], 'printingLayout', true),
|
||||
},
|
||||
{
|
||||
name: 'cuttingLayout',
|
||||
title: t('layoutThing', { thing: props.design.config.data.name }) + ': ' + t('forCutting'),
|
||||
title: t('layoutThing', { thing: props.design.designConfig.data.name }) + ': ' + t('forCutting'),
|
||||
onClick: () => props.updateGist(['_state', 'view'], 'cuttingLayout', true),
|
||||
},
|
||||
{
|
||||
name: 'export',
|
||||
title: t('exportThing', { thing: props.design.config.data.name }),
|
||||
title: t('exportThing', { thing: props.design.designConfig.data.name }),
|
||||
onClick: () => props.updateGist(['_state', 'view'], 'export', true),
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue