Cleanup
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package dashboard
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"sort"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
@ -24,6 +25,10 @@ func Get(ctx *aero.Context) string {
|
||||
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
if user == nil {
|
||||
return ctx.Error(http.StatusUnauthorized, "Not logged in", nil)
|
||||
}
|
||||
|
||||
flow.Parallel(func() {
|
||||
forumActivity, _ = arn.GetForumActivityCached()
|
||||
}, func() {
|
||||
|
@ -122,7 +122,8 @@ component Dashboard(schedule []*arn.UpcomingEpisode, posts []arn.Postable, sound
|
||||
//- .widget-element-text
|
||||
//- Icon("github")
|
||||
//- span GitHub
|
||||
|
||||
|
||||
component Footer
|
||||
.footer.text-center
|
||||
span.footer-element Anime Notifier
|
||||
|
||||
|
Reference in New Issue
Block a user