From d6f6fbe4cdf2bb803e9c0464d65e9a606dbe2876 Mon Sep 17 00:00:00 2001 From: Abhishek Panwar Date: Sun, 26 Jan 2020 14:24:09 +0530 Subject: [PATCH] fix(display): Deleted work not shown in the edition anymore. --- src/client/components/pages/entities/work-table.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/client/components/pages/entities/work-table.js b/src/client/components/pages/entities/work-table.js index 130464797a..4efabc5f53 100644 --- a/src/client/components/pages/entities/work-table.js +++ b/src/client/components/pages/entities/work-table.js @@ -63,13 +63,11 @@ function WorkTable({entity, works}) { - { - works.map((work) => ( - - ))} + {works.map((work) => (work.typeId ? + : null))}