linux stables build

This commit is contained in:
Corwin Smith 2022-12-12 13:46:11 -07:00
parent 95e3b7cf1d
commit e66168660a
1 changed files with 2 additions and 7 deletions

View File

@ -85,15 +85,10 @@ export const DataTable: FC<Props> = ({ columnHeaders, data }) => {
const isLatestStableLinuxRelease = const isLatestStableLinuxRelease =
os === 'linux' && os === 'linux' &&
data data
.slice(0, 12) // get latest build to filter on
.filter( .filter(
(e: ReleaseData) => e.arch === '64-bit' && !e.release.url.includes('unstable') (e: ReleaseData) => e.arch === '64-bit' && !e.release.url.includes('unstable')
) ).includes(r)
.every((elem: ReleaseData) => {
console.log('release:', r);
console.log('elem:', elem);
return new Date(r.published) >= new Date(elem.published);
});
const x = data.filter((e: ReleaseData, _: any, array: any) => { const x = data.filter((e: ReleaseData, _: any, array: any) => {
const maxDate = array const maxDate = array