mirror of https://github.com/keeweb/keeweb
returning only active db hashes
parent
7086ddcf58
commit
a9b83256c6
|
@ -105,7 +105,9 @@ const ProtocolHandlers = {
|
|||
action: 'hash',
|
||||
version: RuntimeInfo.version,
|
||||
hash: firstFile.defaultGroupHash,
|
||||
hashes: AppModel.instance.files.map((file) => file.defaultGroupHash)
|
||||
hashes: AppModel.instance.files
|
||||
.filter((file) => file.active && !file.backend)
|
||||
.map((file) => file.defaultGroupHash)
|
||||
});
|
||||
} else {
|
||||
return { action: 'get-databasehash', error: 'No open files', errorCode: '1' };
|
||||
|
|
Loading…
Reference in New Issue