[frontend] Fix issue with twitter pipe

This commit is contained in:
Cathy Hu 2020-09-01 20:32:22 +02:00
parent 74aa79d64e
commit d35fc500d0

View file

@ -16,7 +16,7 @@
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<mat-list *ngIf="twitters$ | async as twitters"> <mat-list *ngIf="twitters$ | async as twitters">
<mat-list-item *ngIf="twitters.length === 0"> <mat-list-item *ngIf="(twitters | twitterCorpses).length === 0">
<button mat-menu-item (click)="onCreate()"> <button mat-menu-item (click)="onCreate()">
<mat-icon>add</mat-icon> <mat-icon>add</mat-icon>
<span> Add a platform connection!</span> <span> Add a platform connection!</span>