Skip to content

Commit

Permalink
show closed when anyone closes
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Aug 18, 2023
1 parent 1cc14ad commit baa9820
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/vis-table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ window.addEventListener('load', async ()=> {

$D.collectionData.forEach((d)=>{
//d.id = d._id.$oid;
if (d.users&&d.users.some((u)=>(u.user==$D.user.key && u.task_status))) {
// show case closed if ANYONE closed the case
if (d.users&&d.users.some((u)=>(u.task_status))) {
d.icon = './check-folder.png';
d.li_attr = {'class': 'text-success'};
} else {
Expand Down

0 comments on commit baa9820

Please sign in to comment.