From 9c61c49b96781288b53f2594d83e8fd1bfde7c4d Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 26 Aug 2024 00:59:15 +0300 Subject: [PATCH] update: use pool ID for pool selection --- routes/index.go | 2 +- templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@