Skip to content

Commit

Permalink
fix: re-enable using the defaultPattern config for the initial iframe…
Browse files Browse the repository at this point in the history
… page load if defined
  • Loading branch information
sghoweri committed Sep 5, 2019
1 parent d1344d3 commit d645ea1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,10 @@ class IFrame extends BaseComponent {
if (window.patternData) {
patternParam = window.patternData.patternPartial;
} else {
patternParam = 'all'; // @todo: this should also be able to be dynamically set via PL config file
patternParam =
window.config && window.config.defaultPattern
? window.config.defaultPattern
: 'all';
}
}

Expand Down

0 comments on commit d645ea1

Please sign in to comment.