`showCollection` option in Dashboard documents list

It was added in #718, but seems to have gone after the new tabs in the dashboard
This commit is contained in:
Satyadeep 2018-08-27 12:19:29 +05:30 committed by GitHub
parent 54a04dd8cc
commit eb3e4b2d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class Dashboard extends React.Component<Props> {
key="recent"
documents={documents.recentlyViewed}
fetch={documents.fetchRecentlyViewed}
showCollection
/>
</Route>
<Route path="/dashboard/created">
@ -53,12 +54,14 @@ class Dashboard extends React.Component<Props> {
documents={documents.createdByUser(user)}
fetch={documents.fetchOwned}
options={{ user }}
showCollection
/>
</Route>
<Route path="/dashboard">
<PaginatedDocumentList
documents={documents.recentlyEdited}
fetch={documents.fetchRecentlyEdited}
showCollection
/>
</Route>
</Switch>