From 30738670b75821f239e63ecdc595a82ad1e2a403 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 2 Jun 2022 17:12:54 +0200 Subject: [PATCH] MOBILE-4087 debug: Use 2 decimals in printTablesSummary --- src/core/services/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/db.ts b/src/core/services/db.ts index 1d46b2ed3..3bbf36f8c 100644 --- a/src/core/services/db.ts +++ b/src/core/services/db.ts @@ -165,7 +165,7 @@ export class CoreDbProvider { .replace(':table', tableName) .replace(':statement', statementName) .replace(':count', String(statementsSummary[dbName][tableName][statementName].count)) - .replace(':duration', statementsSummary[dbName][tableName][statementName].duration + 'ms') + .replace(':duration', statementsSummary[dbName][tableName][statementName].duration.toFixed(2) + 'ms') .replace(':errors', String(statementsSummary[dbName][tableName][statementName].errors)); // eslint-disable-next-line no-console