Skip to content
Snippets Groups Projects
Commit 992039da authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Fixed updatedAt

parent 4d724540
No related branches found
No related tags found
1 merge request!989fix: Fix display of tempUsers in backoffice
Pipeline #124644 passed
This diff is collapsed.
......@@ -117,7 +117,6 @@ export class ManageUsersComponent {
{
headerName: 'Structures administrées',
cellRenderer: 'administredStructuresComponent',
// valueFormatter: (params) => this.formatStructureCell(params.value),
cellRendererParams: {
structures: 'structures',
},
......@@ -207,6 +206,7 @@ export class ManageUsersComponent {
minWidth: 100,
headerName: 'E-mail',
field: 'email',
editable: false,
},
{
headerName: 'Structure(s)',
......@@ -221,6 +221,8 @@ export class ManageUsersComponent {
minWidth: 50,
headerName: 'Demande de rattachement envoyée le',
field: 'updatedAt',
sortable: true,
editable: false,
valueGetter: this.dateValueGetter,
valueFormatter: this.dateValueFormatter,
comparator: this.dateComparator,
......@@ -441,7 +443,6 @@ export class ManageUsersComponent {
}
public findTempUsers(): void {
// TODO: Change server side so it returns structureNames instead of ids
this.tempUserService.getAllTempUsers().subscribe((data) => {
this.tempUsers = data;
});
......
export class TempUser {
_id: string;
email: string;
structures?: string[];
structuresLink?: string[];
updatedAt: string;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment