This commit is contained in:
insanity 2017-06-07 22:44:10 +09:00
parent c0f83af30b
commit f23fcb9cf7
2 changed files with 2 additions and 9 deletions

View File

@ -15,11 +15,4 @@ export function sec2date(ms: number) {
return dateTime.toLocaleString();
}
export function mac2str(from: string) {
var hexValue = parseInt(from).toString(16);
var macaddress = [];
for (var i = 0; i < hexValue.length; i = i + 2) {
macaddress.push(hexValue.substr(i, 2));
}
return macaddress.join(':');
}

View File

@ -168,7 +168,7 @@ export class Row extends React.Component<any, any> {
render() {
return (
<Checkbox label={this.props.name + " " + this.props.desc} style={styles.checkbox} onCheck={this.handleCheck.bind(this)} />
<Checkbox label={this.props.name + "-------------" + this.props.desc} style={styles.checkbox} onCheck={this.handleCheck.bind(this)} />
);
}
}