diff --git a/app/src/components/RecordTable.js b/app/src/components/RecordTable.js index 5e150b7d5..05c48646b 100644 --- a/app/src/components/RecordTable.js +++ b/app/src/components/RecordTable.js @@ -110,7 +110,7 @@ export class RecordTable extends React.Component { return {v.hostname} {v.type} - {v.type === 'A' && {this.formatIp(v.ip)}} + {(!v.type || v.type === 'A') && {this.formatIp(v.ip)}} {v.type === 'CNAME' && {v.target}} {v.ttl} @@ -131,7 +131,7 @@ export class RecordTable extends React.Component { - {v.type === 'A' && + {(v.type === 'A' || !v.type) && this.handleIpChange(e, v)} value={this.formatIp(v.ip)}/>