(cherry picked from commit 055c699c70
)
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
This commit is contained in:
parent
b5d8db9f8c
commit
8a16e30dcd
|
@ -95,7 +95,7 @@ export default class SelectCertificateModal extends React.PureComponent<Props, S
|
|||
}
|
||||
|
||||
getSelectedCert = () => {
|
||||
if (this.state.list && this.state.selectedIndex) {
|
||||
if (this.state.list && this.state.selectedIndex !== undefined) {
|
||||
return this.state.list[this.state.selectedIndex];
|
||||
}
|
||||
return undefined;
|
||||
|
|
Loading…
Reference in a new issue