fix: use slug in options (#7523)
Signed-off-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
c2668acd33
commit
c8956680ad
5 files changed
+16
-3
No files matched your search
@@ -637,7 +637,12 @@ const CTA = () => {
|
||||
const profileOptions = query.data.profiles
|
||||
.filter((profile) => !profile.readOnly)
|
||||
.map((profile) => {
|
||||
return { teamId: profile.teamId, label: profile.name || profile.slug, image: profile.image };
|
||||
return {
|
||||
teamId: profile.teamId,
|
||||
label: profile.name || profile.slug,
|
||||
image: profile.image,
|
||||
slug: profile.slug,
|
||||
};
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user