Truncate the clientId (#28406)
* Truncate the clientId fixes: #28284 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * fxed tests Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> --------- Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
3fda2c0444
commit
73e22b32c9
2 changed files with 14 additions and 12 deletions
|
@ -229,7 +229,7 @@ export default class ListingPage extends CommonElements {
|
||||||
}
|
}
|
||||||
|
|
||||||
goToItemDetails(itemName: string) {
|
goToItemDetails(itemName: string) {
|
||||||
cy.get(this.#itemsRows).contains(itemName).click();
|
cy.get(this.#itemsRows).contains(itemName).click({ force: true });
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,17 +45,19 @@ const ClientDetailLink = (client: ClientRepresentation) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { realm } = useRealm();
|
const { realm } = useRealm();
|
||||||
return (
|
return (
|
||||||
<Link
|
<TableText wrapModifier="truncate">
|
||||||
key={client.id}
|
<Link
|
||||||
to={toClient({ realm, clientId: client.id!, tab: "settings" })}
|
key={client.id}
|
||||||
>
|
to={toClient({ realm, clientId: client.id!, tab: "settings" })}
|
||||||
{client.clientId}
|
>
|
||||||
{!client.enabled && (
|
{client.clientId}
|
||||||
<Badge key={`${client.id}-disabled`} isRead className="pf-u-ml-sm">
|
{!client.enabled && (
|
||||||
{t("disabled")}
|
<Badge key={`${client.id}-disabled`} isRead className="pf-u-ml-sm">
|
||||||
</Badge>
|
{t("disabled")}
|
||||||
)}
|
</Badge>
|
||||||
</Link>
|
)}
|
||||||
|
</Link>
|
||||||
|
</TableText>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue