Skip to content

Commit 4c0fb81

Browse files
committed
chore: cleanup
Signed-off-by: Jakob Steiner <jakob.steiner@glasskube.eu>
1 parent 80af608 commit 4c0fb81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/ui/src/app/components/customer-organizations/customer-organizations.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</tr>
5656
</thead>
5757
<tbody>
58-
@for (customer of customerOrganizations(); track customer.id; let i = $index) {
58+
@for (customer of customerOrganizations(); track customer.id) {
5959
<tr class="border-t border-gray-200 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-700">
6060
<td class="px-4 py-3 font-medium text-gray-900 whitespace-nowrap dark:text-white">
6161
<app-uuid [uuid]="customer.id" />
@@ -93,7 +93,7 @@
9393
cdkOverlayOrigin
9494
#dropdownTriggerButton
9595
#dropdownTrigger="cdkOverlayOrigin"
96-
(click)="showCustomerFeaturesDropdown(customer, dropdownTriggerButton, i)">
96+
(click)="showCustomerFeaturesDropdown(customer, dropdownTriggerButton)">
9797
<span class="flex-grow"> {{ customer.features.length }} features enabled </span>
9898
<fa-icon
9999
class="transition duration-150 ease-in-out"

frontend/ui/src/app/components/customer-organizations/customer-organizations.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export class CustomerOrganizationsComponent {
306306
}
307307
}
308308

309-
protected showCustomerFeaturesDropdown(customer: CustomerOrganization, btn: HTMLButtonElement, i: number) {
309+
protected showCustomerFeaturesDropdown(customer: CustomerOrganization, btn: HTMLButtonElement) {
310310
this.dropdownWidth = btn.getBoundingClientRect().width;
311311
this.openCustomerFeaturesDropdownId.set(customer.id);
312312
}

0 commit comments

Comments
 (0)