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

Function handleRemoveFile

src/components/editor/editor.js:387–390  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

385 }
386
387 handleRemoveFile(id) {
388 this.logUserInput('security_log_remove_attachment');
389 this.setState(prevState => ({files: prevState.files.filter(file => file.id !== id)}));
390 }
391
392 handleChangeSignKey(value) {
393 if (value === 'nosign') {

Callers

nothing calls this directly

Calls 1

setStateMethod · 0.45

Tested by

no test coverage detected