mirror of https://github.com/portainer/portainer
minor fix (#8485)
parent
56dc2d1000
commit
1dba5e464b
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue