fix: link to the build log

This commit is contained in:
imlonghao 2022-02-15 20:27:53 +08:00
parent 93982c9ce8
commit 26ae993e74
Failed to extract signature
2 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- Fixed link to the build log
## [0.2.6] - 2022-02-14
### Changed

View file

@ -118,7 +118,7 @@
title: "日志",
data: "ts",
render: function (data, type, row, meta) {
return `<a href=https://build.archlinuxcn.org/imlonghao-api/pkg/${row.pkgbase}/log/${data} target=_blank rel=noopener>日志</a>`
return `<a href=https://build.archlinuxcn.org/imlonghao-api/pkg/${row.pkgbase}/log/${Math.floor(data / 1000)} target=_blank rel=noopener>日志</a>`
}
},
{