From 7fe87025843df19db98ebab8c87650fa8809d3b5 Mon Sep 17 00:00:00 2001 From: ta264 Date: Sat, 29 Aug 2020 16:08:30 +0100 Subject: [PATCH] New: Add page count to author books page Fixes #408 --- frontend/src/Author/Details/BookRow.js | 12 ++++++++++++ frontend/src/Store/Actions/bookActions.js | 13 ++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/frontend/src/Author/Details/BookRow.js b/frontend/src/Author/Details/BookRow.js index a0c6d85c0..5eee601d2 100644 --- a/frontend/src/Author/Details/BookRow.js +++ b/frontend/src/Author/Details/BookRow.js @@ -72,6 +72,7 @@ class BookRow extends Component { releaseDate, title, position, + pageCount, ratings, isSaving, authorMonitored, @@ -161,6 +162,16 @@ class BookRow extends Component { ); } + if (name === 'pageCount') { + return ( + + {pageCount || ''} + + ); + } + if (name === 'status') { return (