|
|
|
@ -59,6 +59,13 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
elements.total = element.facilityCount[index] |
|
|
|
|
elements.expanded = false}); |
|
|
|
|
}); |
|
|
|
|
if(sessionStorage.getItem("tabsindex") == "4"){ |
|
|
|
|
this.companyBuiltInGrouping = [this.companyBuiltInGrouping[1]] |
|
|
|
|
this.companyOptionalGrouping = [] |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem("tabsindex") == "5"){ |
|
|
|
|
this.companyBuiltInGrouping.splice(1,1) |
|
|
|
|
} |
|
|
|
|
}) //http
|
|
|
|
|
} //if
|
|
|
|
|
|
|
|
|
@ -254,6 +261,13 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
newElement.total = elements.facilityCount[index] |
|
|
|
|
newElement.expanded = false }); |
|
|
|
|
}); |
|
|
|
|
if(sessionStorage.getItem("tabsindex") == "4"){ |
|
|
|
|
element.buildingFacilityGroups = [element.buildingFacilityGroups[1]] |
|
|
|
|
element.buildingOptionalGroups = [] |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem("tabsindex") == "5"){ |
|
|
|
|
element.buildingFacilityGroups.splice(1,1) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|