hide device dashboard component if deletion finishes successfully.

This commit is contained in:
Jason Kulatunga
2022-05-25 19:19:11 -07:00
parent 987632df39
commit f51de52ff7
3 changed files with 8 additions and 6 deletions
@@ -1,4 +1,4 @@
<div [ngClass]="{ 'border-green': deviceSummary.device.device_status == 0 && deviceSummary.smart,
<div *ngIf="!deleted" [ngClass]="{ 'border-green': deviceSummary.device.device_status == 0 && deviceSummary.smart,
'border-red': deviceSummary.device.device_status != 0 }"
class="relative flex flex-col flex-auto p-6 pr-3 pb-3 bg-card rounded border-l-4 shadow-md overflow-hidden">
<div class="absolute bottom-0 right-0 w-24 h-24 -m-6">