Cleaned up realations regarding response classes
All checks were successful
continuous-integration/drone/pr Build is passing

ref #132
This commit is contained in:
2021-01-30 16:19:42 +01:00
parent 8dc2810c0c
commit ff7406e71a
16 changed files with 56 additions and 42 deletions

View File

@@ -72,7 +72,7 @@ export class ResponseScanStation implements IResponse {
this.description = station.description;
this.prefix = station.prefix;
this.key = "Only visible on creation.";
this.track = station.track.toResponse();
if (station.track) { this.track = station.track.toResponse(); }
this.enabled = station.enabled;
}
}