* @param {string} type key type 'public' or 'private' * @return {bool} true if key should be filtered out
(type)
| 97 | * @return {bool} true if key should be filtered out |
| 98 | */ |
| 99 | filterKey(type) { |
| 100 | const filter = this.state.keyTypeFilter; |
| 101 | return filter === 'publickeys' && type !== 'public' || |
| 102 | filter === 'keypairs' && type !== 'private'; |
| 103 | } |
| 104 | |
| 105 | showKeyDetails(index) { |
| 106 | this.setState({selectedKey: index}); |
nothing calls this directly
no outgoing calls
no test coverage detected