|
|
@@ -19,6 +19,7 @@ export class EquipmentDetailsComponent implements OnInit {
|
|
|
@Input() equipment: EquipmentDetails | null;
|
|
|
@Input() equipmentDetailsEnabled: boolean;
|
|
|
@Input() equipmentImagesGalleryEnabled: boolean;
|
|
|
+ @Input() relatedDocumentsTableEnabled: boolean;
|
|
|
@Output() refreshCriticality = new EventEmitter<string>();
|
|
|
@Output() printFile = new EventEmitter<string>();
|
|
|
|
|
|
@@ -31,7 +32,6 @@ export class EquipmentDetailsComponent implements OnInit {
|
|
|
private _domSanitizer: DomSanitizer,
|
|
|
private _dialog: MatDialog,
|
|
|
private _encService: EncService,
|
|
|
- private _router: Router,
|
|
|
){
|
|
|
this._matIconRegistry.addSvgIcon(
|
|
|
'xls',
|
|
|
@@ -40,6 +40,7 @@ export class EquipmentDetailsComponent implements OnInit {
|
|
|
this.equipment = null;
|
|
|
this.equipmentDetailsEnabled = true;
|
|
|
this.equipmentImagesGalleryEnabled = true;
|
|
|
+ this.relatedDocumentsTableEnabled = true;
|
|
|
this.images = [];
|
|
|
this.imageIndex = 0;
|
|
|
this.screenWidth = window.innerWidth;
|