summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-28 21:14:53 +0000
committerGerrit Code Review <review@openstack.org>2018-11-28 21:14:53 +0000
commit85c8794095103edeea0e778dcd4a709943285d39 (patch)
tree77c2930d79d2ddc821a2c8ff558b0d640cff3f35
parent2728e5d4adac81b3c79c6a453676565fc10fda9d (diff)
parent365ba836b8372fc9c4bdf1a342c79f7e29a3bf97 (diff)
Merge "web: fix ref column value for newrev"
-rw-r--r--web/src/pages/Builds.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/pages/Builds.jsx b/web/src/pages/Builds.jsx
index f01c359..314f5d7 100644
--- a/web/src/pages/Builds.jsx
+++ b/web/src/pages/Builds.jsx
@@ -74,7 +74,7 @@ class BuildsPage extends TableFilters {
74 ) 74 )
75 const linkChangeFormat = (value, rowdata) => ( 75 const linkChangeFormat = (value, rowdata) => (
76 <Table.Cell> 76 <Table.Cell>
77 <a href={rowdata.rowData.ref_url}>{value ? rowdata.rowData.change+','+rowdata.rowData.patchset : rowdata.rowData.newrev ? rowdata.rowData.newrev.substring(7,1) : rowdata.rowData.branch}</a> 77 <a href={rowdata.rowData.ref_url}>{value ? rowdata.rowData.change+','+rowdata.rowData.patchset : rowdata.rowData.newrev ? rowdata.rowData.newrev.substr(0, 7) : rowdata.rowData.branch}</a>
78 </Table.Cell> 78 </Table.Cell>
79 ) 79 )
80 this.columns = [] 80 this.columns = []