Skip to content

Commit

Permalink
fix(display): Deleted work not shown in the edition anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
panwarabhishek345 committed Jan 26, 2020
1 parent 40314ad commit d6f6fbe
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/client/components/pages/entities/work-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@ function WorkTable({entity, works}) {
</tr>
</thead>
<tbody>
{
works.map((work) => (
<WorkTableRow
key={work.bbid}
work={work}
/>
))}
{works.map((work) => (work.typeId ?
<WorkTableRow
key={work.bbid}
work={work}
/> : null))}
</tbody>
</Table>
<Button
Expand Down

0 comments on commit d6f6fbe

Please sign in to comment.