Skip to content

Commit

Permalink
fix: Internal user marked as external in people and space members pag…
Browse files Browse the repository at this point in the history
…es - EXO-71462 - Meeds-io/meeds#2572.

Before this change, when create a user and add him in /platform/externals group and remove it from /platform/users group then remove the user from /platform/externals and I put it in /platform/users and go to people page/ spacex member app where the user is member, the user is marked as external on his card. To resolve this problem, change the display condition of this component from boolean to String. After this change, The user is marked as external on his hard for people page and space members.
  • Loading branch information
akhanfir committed Nov 8, 2024
1 parent 92471b0 commit c78c1d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default {
return this.user?.enabled;
},
externalUser() {
return this.user?.external;
return this.user.external === 'true';
},
profileUrl() {
return `${eXo.env.portal.context}/${eXo.env.portal.metaPortalName}/profile/${this.user?.username}`;
Expand Down

0 comments on commit c78c1d4

Please sign in to comment.