diff --git a/routes/index.go b/routes/index.go index b3538a6..62e1320 100644 --- a/routes/index.go +++ b/routes/index.go @@ -46,7 +46,7 @@ func GET_index(c *fiber.Ctx) error { if len(pools) != 0 { for _, p := range pools { - if p == pkg.Pool.Name { + if p == pkg.Pool.ID() { found = true break } diff --git a/templates/index.html b/templates/index.html index 13f3c72..0c4a619 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,7 @@