mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus
This commit is contained in:
commit
6e6fa49f79
@ -17,7 +17,12 @@ class CorpusList extends ResourceList {
|
||||
});
|
||||
});
|
||||
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(followedCorpora);
|
||||
this.isInitialized = true;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user