fixed UI issues related to deleting (component is now correctly removed from the dashboard device list).

fixes #69
This commit is contained in:
Jason Kulatunga
2022-05-26 00:16:13 -07:00
parent f51de52ff7
commit da4562d308
4 changed files with 14 additions and 8 deletions
@@ -1,4 +1,4 @@
<div *ngIf="!deleted" [ngClass]="{ 'border-green': deviceSummary.device.device_status == 0 && deviceSummary.smart,
<div [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">