Skip to content

Commit

Permalink
UI: Configurator, adding to a new device not posible #1571
Browse files Browse the repository at this point in the history
  • Loading branch information
shral committed Sep 5, 2018
1 parent 04e328d commit eb27edb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ export class DeviceConfiguratorComponent implements OnInit, OnDestroy {
$this.cfpLoadingBar.start();
this.route.params
.subscribe((params) => {

if(params.devicereff === "dcmDevice.dcmArchiveDevice" && this.service.device && !_.hasIn(this.service.device,"dcmDevice.dcmArchiveDevice")){
console.log("this.service.device",this.service.device);
_.set(this.service.device,"dcmDevice.dcmArchiveDevice",{});
}
console.log("allOptions",this.service.allOptions);
if (
($this.service.pagination.length < 3) // If the deepest pagination level is the device than go one
Expand Down

0 comments on commit eb27edb

Please sign in to comment.