Skip to content

Commit

Permalink
don't filter collections for precisionfda
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jan 16, 2024
1 parent 0dfa06e commit 492aecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/collection/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@
let userCollections = getUserInfo()['data']['collections'] || [];
async function initialize() {
var data = await store.getAllCollection();
data = data.filter(x=>userCollections.indexOf(x._id["$oid"])>=0)
// in this branch, we have all collections.
//data = data.filter(x=>userCollections.indexOf(x._id["$oid"])>=0)
data = data.sort((a, b) => {
let nameA = a.name.toUpperCase();
let nameB = b.name.toUpperCase();
Expand Down

0 comments on commit 492aecc

Please sign in to comment.