1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(docker/containers): show name in log view [EE-5108] (#8557)

This commit is contained in:
Chaim Lev-Ari 2023-03-01 09:37:23 +02:00 committed by GitHub
parent 6d659b4a2c
commit ab9b0c2147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

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