fix: simplify mobile layout tabs (#44431)

* fix: simplify mobile layout tabs

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Tom
2021-12-15 07:52:44 -06:00
committed by GitHub
parent 62071589d3
commit 580a51f7a7
25 changed files with 60 additions and 52 deletions

View File

@ -296,6 +296,7 @@ ${getFullPath('english')}
);
const {
name: blockName,
hasEditableBoundaries,
order,
isPrivate,
required = [],
@ -304,6 +305,7 @@ ${getFullPath('english')}
usesMultifileEditor
} = meta;
challenge.block = dasherize(blockName);
challenge.hasEditableBoundaries = !!hasEditableBoundaries;
challenge.order = order;
const superOrder = getSuperOrder(superBlock);
if (superOrder !== null) challenge.superOrder = superOrder;