From fabd0b4dda0f7c481239be55f297d1c9cba59c02 Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Sun, 9 Apr 2023 17:24:48 +0530 Subject: [PATCH] Desktop, Mobile: Fixes #7940: Removed `MasterKey` from Sync Status report (#8026) --- packages/lib/services/ReportService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/lib/services/ReportService.ts b/packages/lib/services/ReportService.ts index d34348a512..d927a73d66 100644 --- a/packages/lib/services/ReportService.ts +++ b/packages/lib/services/ReportService.ts @@ -110,6 +110,8 @@ export default class ReportService { let syncedCount = 0; for (let i = 0; i < BaseItem.syncItemDefinitions_.length; i++) { const d = BaseItem.syncItemDefinitions_[i]; + // ref: https://github.com/laurent22/joplin/issues/7940#issuecomment-1473709148 + if (d.className === 'MasterKey') continue; const ItemClass = BaseItem.getClass(d.className); const o = { total: await ItemClass.count(),