Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show all favorites for an endpoint favorite if there is only one #4440

Merged
merged 2 commits into from
Jul 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Show all favorites for the endpoint favorite if there is only one
  • Loading branch information
nwmac committed Jul 9, 2020
commit f53e24edda56a68537b30a8b3e3c2b6e949094d4
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[endpointDisconnected]="endpointDisconnected"></app-favorites-meta-card>
</div>
<ng-container *ngIf="(searchedEntities$ | async) as searchedEntities">
<button class="favorite-entity-list__expand-button" *ngIf="searchedEntities.length > minLimit"
<button class="favorite-entity-list__expand-button" *ngIf="searchedEntities.length > minLimit && !autoExpand"
(click)="toggleExpand()" mat-icon-button>
<mat-icon *ngIf="(limitToggle$ | async) === null">expand_less</mat-icon>
<mat-icon *ngIf="(limitToggle$ | async) !== null">expand_more</mat-icon>
Expand Down