diff --git a/frontend/src/Store/Actions/authorIndexActions.js b/frontend/src/Store/Actions/authorIndexActions.js index cbca74029..03a34e042 100644 --- a/frontend/src/Store/Actions/authorIndexActions.js +++ b/frontend/src/Store/Actions/authorIndexActions.js @@ -180,7 +180,7 @@ export const defaultState = { bookCount: function(item) { const { statistics = {} } = item; - return statistics.bookCount; + return statistics.bookCount || 0; }, sizeOnDisk: function(item) {