X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c56b5c0f2df66fbb23b278c2a3338c09d9435735..5e805cf2209d3afe42699e4658d8a12e50bcd5a4:/src/views/link-account-panel/link-account-panel-root.tsx
diff --git a/src/views/link-account-panel/link-account-panel-root.tsx b/src/views/link-account-panel/link-account-panel-root.tsx
index eb52ba18..c5c86eb2 100644
--- a/src/views/link-account-panel/link-account-panel-root.tsx
+++ b/src/views/link-account-panel/link-account-panel-root.tsx
@@ -55,7 +55,7 @@ function displayUser(user: UserResource, showCreatedAt: boolean = false, showClu
const disp: JSX.Element[] = [];
disp.push({user.email} ({user.username}, {user.uuid}));
if (showCluster) {
- const homeCluster = user.uuid.substr(0, 5);
+ const homeCluster = user.uuid.substring(0, 5);
disp.push( hosted on cluster {homeCluster} and );
}
if (showCreatedAt) {
@@ -134,7 +134,7 @@ export const LinkAccountPanelRoot = withStyles(styles)(
This a remote account. You can link a local Arvados account to this one.
After linking, you can access the local account's data by logging into the
{localCluster} cluster as user {targetUser.email}
- from {targetUser.uuid.substr(0, 5)}.
+ from {targetUser.uuid.substring(0, 5)}.