MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / fetchKeyringEmails

Function fetchKeyringEmails

src/app/keyring/components/KeyringSelect.js:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 async fetchKeyringEmails() {
45 const names = {};
46 const keyringIds = Object.keys(this.props.keyringAttr);
47 await Promise.all(keyringIds.map(async keyringId => {
48 names[keyringId] = await this.formatKeyringEmail(keyringId);
49 }));
50 this.setState({names});
51 }
52
53 getKeyringName(keyringId) {
54 let name;

Callers

nothing calls this directly

Calls 1

setStateMethod · 0.45

Tested by

no test coverage detected