Skip to content

Commit

Permalink
Map over display function instead of displayed value.
Browse files Browse the repository at this point in the history
Previously we were mapping over the displayed status boolean and
treating it like a promise when it wasn't one. I assume we meant to
instead call the display function.
  • Loading branch information
Fraser Mince committed Feb 11, 2020
1 parent d75b47e commit 0127e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/continuous/index.js
Expand Up @@ -283,7 +283,7 @@ class ContinuousViewManager extends DefaultViewManager {
}

let promises = newViews.map((view) => {
return view.displayed;
return view.display(this.request);
});

if(newViews.length){
Expand Down

0 comments on commit 0127e9e

Please sign in to comment.