Desktop, Mobile: Fixes #7940: Removed `MasterKey` from Sync Status report (#8026)

pull/8035/head
Arun Kumar 2023-04-09 17:24:48 +05:30 committed by GitHub
parent 6b72f86e7b
commit fabd0b4dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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(),