ImagesTable: add image name
If a user has specified an image name the name will appear. Otherwise the image's UUID will appear. The test needed to be modified to search for the compose in the store with either the image name or the id
This commit is contained in:
parent
c257eec540
commit
2300af1152
2 changed files with 7 additions and 4 deletions
|
|
@ -91,7 +91,7 @@ class ImagesTable extends Component {
|
|||
let { composes } = this.props;
|
||||
|
||||
const columns = [
|
||||
'Image',
|
||||
'Image name',
|
||||
'Created',
|
||||
'Release',
|
||||
'Target',
|
||||
|
|
@ -107,7 +107,7 @@ class ImagesTable extends Component {
|
|||
const compose = composes.byId[id];
|
||||
return {
|
||||
cells: [
|
||||
id,
|
||||
compose.request.image_name || id,
|
||||
this.timestampToDisplayString(compose.created_at),
|
||||
{ title: <Release release={ compose.request.distribution } /> },
|
||||
{ title: <Target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue