Skip to content

Commit 47fb3f1

Browse files
committed
fix(dashboard): only show abstruse generated docker containers
1 parent 362f24e commit 47fb3f1

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

src/app/components/app-dashboard/app-dashboard.component.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,7 @@ <h3>Container resource consumption</h3>
4343
<div class="columns is-multiline" *ngIf="containers?.length">
4444
<div class="column is-6" *ngFor="let c of containers; let i = index;">
4545
<div class="container-item">
46-
<div class="container-header">
47-
<div class="columns is-multiline">
48-
<div class="column is-6">
49-
{{ c.name }}
50-
</div>
51-
<div class="column is-4">
52-
<span class="data-label-mini yellow" *ngIf="c?.debug">Debugging</span>
53-
</div>
54-
<div class="column is-2">
55-
<span class="icon circle" name="stop-job" (click)="stopJob($event, c.name)">
56-
<i class="ionicon ion-power"></i>
57-
</span>
58-
</div>
59-
</div>
60-
</div>
46+
<div class="container-header">{{ c.name }}</div>
6147
<div class="container-data border-bottom">
6248
<div class="data-info">
6349
<span>Memory Total</span>

src/app/components/app-dashboard/app-dashboard.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class AppDashboardComponent implements OnInit, OnDestroy {
5353
this.cpuPercent = e.data.load;
5454
this.cpuCores = e.data.cores.map(core => core.total);
5555
} else if (e.type === 'containersStats') {
56-
this.containers = e.data;
56+
this.containers = e.data.filter(container => container && container.name && container.name.startsWith('abstruse'));
5757
}
5858
});
5959

0 commit comments

Comments
 (0)