operations/operation-details/operation-details-modal.component.ts
selector | c8y-operation-details-modal |
templateUrl | ./operation-details-modal.component.html |
Properties |
Methods |
|
Inputs |
constructor(modalRef: BsModalRef, operationsListService: OperationsListService)
|
|||||||||
Parameters :
|
collapsed |
Type : boolean
|
Default value : false
|
operation |
Type : Partial<IOperation>
|
readOnly |
Type : boolean
|
Default value : false
|
Async ngOnInit |
ngOnInit()
|
Returns :
any
|
isSmartRulesMicroserviceAvailable |
Default value : false
|
Public modalRef |
Type : BsModalRef
|
<div class="viewport-modal">
<div class="modal-header separator">
<h3 id="modal-title">{{ 'Single operation details' | translate }}</h3>
</div>
<div
class="modal-inner-scroll"
id="modal-body"
>
<c8y-operations-list-item
[operation]="operation"
[collapsed]="collapsed"
[noExpandToggle]="true"
[readOnly]="readOnly"
[isSmartRulesMicroserviceAvailable]="isSmartRulesMicroserviceAvailable"
></c8y-operations-list-item>
</div>
<div class="modal-footer">
<button
class="btn btn-default"
title="{{ 'Close' | translate }}"
type="button"
(click)="modalRef.hide()"
>
{{ 'Close' | translate }}
</button>
</div>
</div>