File tree 1 file changed +16
-3
lines changed
1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,24 @@ const IndexPage = () => {
25
25
< div className = "px-8 mx-auto md:py-18 max-w-page" >
26
26
{ data === undefined ? (
27
27
< div className = "preloader-container" >
28
- < Spinner />
28
+ < Spinner />
29
29
</ div >
30
30
) : (
31
- data . map ( ( build , idx ) => {
32
- return < BuildCard key = { idx } createdAt = { build . createdAt } message = { build . commit . message } download_url = { `https://skyline-builds.alula.gay/cache/${ build . id } /${ build . apkName } ` } github_url = { `https://github.com/skyline-emu/skyline/commit/${ build . commit . id } ` } branch = { build . branch } hash = { build . commit . id } number = { build . runNumber } /> ;
31
+ data . flatMap ( ( build , idx ) => {
32
+ if ( build . branch === "ftx1" ) {
33
+ return (
34
+ < BuildCard
35
+ key = { idx }
36
+ createdAt = { build . createdAt }
37
+ message = { build . commit . message }
38
+ download_url = { `https://skyline-builds.alula.gay/cache/${ build . id } /${ build . apkName } ` }
39
+ github_url = { `https://github.com/skyline-emu/skyline/commit/${ build . commit . id } ` }
40
+ branch = { build . branch }
41
+ hash = { build . commit . id }
42
+ number = { build . runNumber }
43
+ />
44
+ ) ;
45
+ } else return [ ] ;
33
46
} )
34
47
) }
35
48
</ div >
You can’t perform that action at this time.
0 commit comments