Finalize the format of HardwareConfiguration. (#514)

This commit is contained in:
László Monda
2017-12-11 20:39:29 +01:00
committed by Róbert Kiss
parent 6659ef8eab
commit 8e121d88ab
3 changed files with 46 additions and 41 deletions

View File

@@ -64,7 +64,7 @@ export class UserConfigEffects {
const hardwareConfig = new HardwareConfiguration();
hardwareConfig.fromBinary(UhkBuffer.fromArray(data));
if (hardwareConfig.uuid > 0) {
if (hardwareConfig.uniqueId > 0) {
return hardwareConfig;
}
return null;