From 7e34d1abc1ad49b2bcc567121958ee5ba32aed9d Mon Sep 17 00:00:00 2001 From: sylv-p Date: Mon, 21 Feb 2022 12:41:36 +0100 Subject: [PATCH] feat: add parseInt on id from user_pias --- src/app/modules/pia/pia.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/pia/pia.component.ts b/src/app/modules/pia/pia.component.ts index 2c6cbc9e2..b9eea5946 100644 --- a/src/app/modules/pia/pia.component.ts +++ b/src/app/modules/pia/pia.component.ts @@ -195,7 +195,7 @@ export class PiaComponent implements OnInit, DoCheck { } else { this.pia.user_pias.forEach(up => { if ( - up.user.id === + parseInt(up.user.id) === this.authService.currentUserValue.resource_owner_id && Array.isArray(this.editMode) ) {