mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 10:33:57 +00:00
Display separator between ngFor components (#2359)
We currently remove the separator element when a `box-content-row` is the last child. However, when we create these rows from ng templates each row gets a separate template element wrapping it. This PR tells the cipher-row component whether it is the last child
This commit is contained in:
@@ -97,8 +97,9 @@
|
||||
</h2>
|
||||
<div class="box-content">
|
||||
<app-cipher-row
|
||||
*cdkVirtualFor="let c of ciphers"
|
||||
*cdkVirtualFor="let c of ciphers; let last = last"
|
||||
[cipher]="c"
|
||||
[last]="last"
|
||||
title="{{ 'viewItem' | i18n }}"
|
||||
(onSelected)="selectCipher($event)"
|
||||
(launchEvent)="launchCipher($event)"
|
||||
|
||||
Reference in New Issue
Block a user