Skip to content

Commit 23e2d37

Browse files
committed
Display 0 if there are no unprocessed submissions
1 parent a1fb7e9 commit 23e2d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Servers/UI/OJS.Servers.Ui/ClientApp/src/components/submissions/recent-submissions/RecentSubmissions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const RecentSubmissions = () => {
131131

132132
const getSubmissionsAwaitingExecution = useCallback((state: string = '') => {
133133
if (isEmpty(unprocessedSubmissionsCount)) {
134-
return null;
134+
return 0;
135135
}
136136

137137
if (isEmpty(state)) {

0 commit comments

Comments
 (0)