summaryrefslogtreecommitdiff
path: root/src/components/List.js
diff options
context:
space:
mode:
authorErnst Widerberg <ernst@sunet.se>2022-01-10 15:50:54 +0100
committerErnst Widerberg <ernst@sunet.se>2022-01-10 15:50:54 +0100
commit0428ffe567bd96c9e45012efeb883d4d0452332a (patch)
tree10cef37bd2bab611f64a053a8975f1fefd312652 /src/components/List.js
parent269692897631a4cca8d32720fc0f99898825711c (diff)
Use observation summary in list view
Exact content TBD
Diffstat (limited to 'src/components/List.js')
-rw-r--r--src/components/List.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/List.js b/src/components/List.js
index 8b48307..76270fa 100644
--- a/src/components/List.js
+++ b/src/components/List.js
@@ -115,7 +115,13 @@ class List extends React.Component {
</div>
<div id="main">
{this.state.objects.map(data => {
- return <ObjectComponent {...data} key={data._id} />;
+ return (
+ <ObjectComponent
+ summary={true}
+ {...data}
+ key={data._id}
+ />
+ );
})}
</div>
<div id="pagination">