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. (#4172)

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 authored and rdenarie committed Nov 8, 2024
1 parent c98566d commit b1848e3
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 b1848e3

Please sign in to comment.