fix dashboard styling and invite count

This commit is contained in:
Henry 2021-04-05 11:46:58 +02:00
parent 77b1f5268a
commit 01cd99b3e6
2 changed files with 3 additions and 2 deletions

View File

@ -227,7 +227,7 @@ func (i Invites) List(ctx context.Context) ([]roomdb.Invite, error) {
}
func (i Invites) Count(ctx context.Context) (uint, error) {
count, err := models.Members().Count(ctx, i.db)
count, err := models.Invites().Count(ctx, i.db)
if err != nil {
return 0, err
}

View File

@ -22,7 +22,7 @@
id="online-count"
class="col-span-2 font-black text-black text-xl"
>{{.OnlineCount}}</div>
<div class="col-span-2 text-gray-500">Online</iv>
<div class="col-span-2 text-gray-500">Online</div>
</div>
</div>
@ -85,4 +85,5 @@
</div>
{{end}}
</div>
</div>
{{end}}