1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00
This commit is contained in:
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

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;
});