Browse Source

fix default

nameczz 4 years ago
parent
commit
9e812f244e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/src/collections/collections.service.ts

+ 1 - 1
server/src/collections/collections.service.ts

@@ -118,7 +118,7 @@ export class CollectionsService {
           collection_name: name,
         });
         const rowCount = findKeyValue(collectionStatistics.stats, ROW_COUNT);
-        data.totalData += isNaN(Number(rowCount)) ? 9 : Number(rowCount);
+        data.totalData += isNaN(Number(rowCount)) ? 0 : Number(rowCount);
       }
     }
     return data;