pull/8491/head
Matt Hook 2023-02-14 10:35:21 +13:00 committed by GitHub
parent 56dc2d1000
commit 1dba5e464b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export function parseViewModel(
);
const names = response.Names.map((n) => {
const nameWithoutSlash = n[0] === '/' ? response.Names[0].slice(1) : n;
const nameWithoutSlash = n[0] === '/' ? n.slice(1) : n;
return nameWithoutSlash;
});