Skip to content
Snippets Groups Projects
Commit 6e6fa49f authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus

parents f1d8b819 c3d429ed
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,12 @@ class CorpusList extends ResourceList { ...@@ -17,7 +17,12 @@ class CorpusList extends ResourceList {
}); });
}); });
app.getUser(this.userId).then((user) => { app.getUser(this.userId).then((user) => {
let followedCorpora = [];
for (let cfa of Object.values(user.corpus_follower_associations)) {
followedCorpora.push(cfa.corpus);
}
this.add(Object.values(user.corpora)); this.add(Object.values(user.corpora));
this.add(followedCorpora);
this.isInitialized = true; this.isInitialized = true;
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment