This commit is contained in:
Timmy Crawford 2020-10-22 08:14:13 -07:00 committed by GitHub
parent 915a7531b9
commit 22212e83ae
1 changed files with 0 additions and 5 deletions

View File

@ -75,7 +75,6 @@ const renderNotes = ( { hasNotes, isBatchUpdating, lastRead, notes } ) => {
const InboxPanel = ( props ) => {
const {
isError,
isPanelEmpty,
isResolving,
isBatchUpdating,
notes,
@ -122,10 +121,6 @@ const InboxPanel = ( props ) => {
const isActivityHeaderVisible = hasNotes || isResolving || isUpdatingNote;
if ( isPanelEmpty ) {
isPanelEmpty( ! hasNotes && ! isActivityHeaderVisible );
}
// @todo After having a pagination implemented we should call the method "getNotes" with a different query since
// the current one is only getting 25 notes and the count of unread notes only will refer to this 25 and not all the existing ones.
return (