swich position of libelle dataSource and accountFriendlyName in launcherMainCard.tsx
JackLemaitre opened this issue · comments
Jacques Lemaitre commented
can we swich label's position to have the accountFriendlyName in first because in the current display we can't see it without click on the menuItem. ( it s happened when we have a long subpath )
i find it more userfriendly to see the name of the datasource in first ( nobody care about the url ^^)
it may be something like that but i am not a react expert ;)
<MenuItem
key={customConfigIndex ?? "_"}
value={`${customConfigIndex ?? "sts"}`}
>
{accountFriendlyName !== undefined
? ` ${accountFriendlyName} -`
: ""}
{dataSource}
</MenuItem>
at the moment it is
<MenuItem
key={customConfigIndex ?? "_"}
value={`${customConfigIndex ?? "sts"}`}
>
{dataSource}
{accountFriendlyName !== undefined
? ` - ${accountFriendlyName}`
: ""}
</MenuItem>
Joseph Garrone commented
Done :)