diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-10-20 13:34:25 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-10-20 13:34:25 -0400 |
| commit | d8f12dade0d0b336e4328fa1f00a1a538588d34e (patch) | |
| tree | ae33d9664209cc46ecf43dcdacd11f423ae29029 /src/client/views/search/SearchBox.tsx | |
| parent | 9afcb0f8ab12bd94494b7a5b532dbe26835382ac (diff) | |
initial version of template refactoring
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index b728ffaa9..899a35f48 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -211,7 +211,7 @@ export class SearchBox extends React.Component { }); let x = 0; let y = 0; - for (const doc of docs) { + for (const doc of docs.map(d => Doc.Layout(d))) { doc.x = x; doc.y = y; const size = 200; |
