mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(docker): remove prepended slash by default on container names [EE-3592] (#8195)
* remove prepended slash by default if present * trimcontainername still needed
This commit is contained in:
parent
bfc610c192
commit
f9bbe000fb
4 changed files with 13 additions and 11 deletions
|
@ -10,10 +10,7 @@ import { TableSettings } from '../types';
|
|||
|
||||
export const name: Column<DockerContainer> = {
|
||||
Header: 'Name',
|
||||
accessor: (row) => {
|
||||
const name = row.Names[0];
|
||||
return name.substring(1, name.length);
|
||||
},
|
||||
accessor: (row) => row.Names[0],
|
||||
id: 'name',
|
||||
Cell: NameCell,
|
||||
disableFilters: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue