|
|
|
@ -16,19 +16,19 @@ |
|
|
|
|
|
|
|
--> |
|
|
|
<div class="tb-details-buttons xs:flex xs:flex-col"> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'open')" |
|
|
|
[class.!hidden]="isEdit || isDetailsPage"> |
|
|
|
{{'common.open-details-page' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async) || !(entity?.hasData && !entity?.url)" |
|
|
|
(click)="onEntityAction($event, 'uploadPackage')" |
|
|
|
[class.!hidden]="isEdit"> |
|
|
|
{{ 'ota-update.download' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|