js: fix import feedback
-- * src/Keyring.js For Key imports without prepare_sync the import feedback was lacking the summary
This commit is contained in:
parent
ea43158d40
commit
d65a392670
@ -327,7 +327,15 @@ export class GPGME_Keyring {
|
||||
status: infos[fprs[i]].status
|
||||
});
|
||||
}
|
||||
resolve(resultset);
|
||||
let summary = {};
|
||||
for (let i=0; i < feedbackValues.length; i++ ){
|
||||
summary[feedbackValues[i]] =
|
||||
response[feedbackValues[i]];
|
||||
}
|
||||
resolve({
|
||||
Keys:resultset,
|
||||
summary:summary
|
||||
});
|
||||
}
|
||||
|
||||
}, function(error){
|
||||
|
Loading…
Reference in New Issue
Block a user