Browse Source

Merge "web: fix ref column value for newrev"

tags/3.4.0
Zuul 5 months ago
parent
commit
85c8794095
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/src/pages/Builds.jsx

+ 1
- 1
web/src/pages/Builds.jsx View File

@@ -74,7 +74,7 @@ class BuildsPage extends TableFilters {
74 74
     )
75 75
     const linkChangeFormat = (value, rowdata) => (
76 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 78
       </Table.Cell>
79 79
     )
80 80
     this.columns = []

Loading…
Cancel
Save