Skip to content

Commit 55a8e90

Browse files
committed
Instance description
This adds the instance description to the /collections/ page. I also removed some code that optionally only shows the logged in users public collections since this page is meant to only show public collections. Users can view their collections in the /searches/ page.
1 parent 78d754d commit 55a8e90

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/client/components/Collections/CollectionList.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ export default class CollectionList extends Component {
2828
}
2929

3030
tick() {
31-
const userId = this.props.forUserId
32-
// If a userId is provided, show only searches for that user
33-
if (userId) {
34-
this.props.getPublicSearches(userId)
35-
} else {
36-
// Get searches for all users (TODO)
37-
this.props.getPublicSearches()
38-
}
31+
this.props.getPublicSearches()
3932
}
4033

4134
render() {
@@ -44,7 +37,7 @@ export default class CollectionList extends Component {
4437
<Grid container spacing={3} className={style.Header}>
4538
<Grid item xs={9}>
4639
<Typography variant="body1">
47-
MITH is using DocNow to collect tweets for humanities research.
40+
{ this.props.settings.instanceDescription }
4841
</Typography>
4942
</Grid>
5043
<Grid item xs={3}>

0 commit comments

Comments
 (0)