Added infinite scrolling to AMVs
This commit is contained in:
9
pages/amvs/fetch.go
Normal file
9
pages/amvs/fetch.go
Normal file
@ -0,0 +1,9 @@
|
||||
package amvs
|
||||
|
||||
import "github.com/animenotifier/arn"
|
||||
|
||||
func fetchAll() []*arn.AMV {
|
||||
return arn.FilterAMVs(func(amv *arn.AMV) bool {
|
||||
return !amv.IsDraft
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user