Skip to content

Commit

Permalink
Merge pull request #45 from entando/ENG-1733-pagetemplate-sketch-fall…
Browse files Browse the repository at this point in the history
…back

ENG-1733 pageTemplate sketch fallback
  • Loading branch information
ffleandro authored Jan 8, 2021
2 parents 172d7a2 + 4568dfa commit 19e8d92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/env-bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,12 @@ const componentResponseProcessor = {
'configuration.frames[].descr': 'configuration.frames[].description',
'configuration.frames[].mainFrame': 'configuration.frames[].mainFrame',
'configuration.frames[].defaultWidget': 'configuration.frames[].defaultWidget',
'configuration.frames[].sketch': 'configuration.frames[].sketch',
'configuration.frames[].sketch': [{
key: 'configuration.frames[].sketch',
transform: function(sketch) {
return sketch === null ? {x1: 0, x2: 11, y1: 0, y2: 0} : sketch;
}
}],
'template': 'template'
};

Expand Down

0 comments on commit 19e8d92

Please sign in to comment.