Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit afa3ddf

Browse files
authored
feat: display project name in invoice project selector (#126)
1 parent 2fa79ab commit afa3ddf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/gauzy/src/app/pages/invoices/table-components/invoice-project-selector.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class InvoiceProjectsSelectorComponent extends DefaultEditor implements O
5454

5555
this.projects = JSON.parse(JSON.stringify(response));
5656
const project = this.cell.getValue();
57-
this.project = this.projects.find((p) => p.id === project['id']);
57+
this.project = this.projects.find((p) => p.name === project);
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)