()
| 151 | } |
| 152 | |
| 153 | getKeyDetails() { |
| 154 | const activeKeyDetails = this.props.keys.find(key => key.keyId === this.state.activeKey); |
| 155 | return ( |
| 156 | <Alert type="info" className="mb-4 flex-shrink-1"> |
| 157 | <span className={`icon icon-${activeKeyDetails.type === 'public' ? 'key' : 'key-pair'} mr-1`} style={{fontSize: '1.25rem'}}></span> |
| 158 | <span style={{fontSize: '1rem', fontWeight: 500}}>{activeKeyDetails.name}</span> {`<${activeKeyDetails.email}> #${activeKeyDetails.keyId}`} |
| 159 | </Alert> |
| 160 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected