diff --git a/server/router/api.go b/server/router/api.go
index 871254f66..3ac734963 100644
--- a/server/router/api.go
+++ b/server/router/api.go
@@ -172,8 +172,8 @@ func apiRoutes(e *gin.RouterGroup) {
readGlobalSecrets := apiBase.Group("/secrets")
{
readGlobalSecrets.Use(session.MustUser())
- readGlobalSecrets.GET("", api.GetSecretList)
- readGlobalSecrets.GET("/:secret", api.GetSecret)
+ readGlobalSecrets.GET("", api.GetGlobalSecretList)
+ readGlobalSecrets.GET("/:secret", api.GetGlobalSecret)
}
secrets := apiBase.Group("/secrets")
{
diff --git a/web/src/components/layout/Pagination.vue b/web/src/components/layout/Pagination.vue
deleted file mode 100644
index ef9fed1a8..000000000
--- a/web/src/components/layout/Pagination.vue
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
loading ...
-
-
-
-
-
-
-
-
-
diff --git a/web/src/components/repo/settings/SecretsTab.vue b/web/src/components/repo/settings/SecretsTab.vue
index 0f4afe5a7..c2a546f6c 100644
--- a/web/src/components/repo/settings/SecretsTab.vue
+++ b/web/src/components/repo/settings/SecretsTab.vue
@@ -14,15 +14,14 @@
-
-
-
+
!selectedSecret.value, {
each: ['repo', 'org', 'global'],
- scrollElement: null,
pageSize: 50,
});
const { resetPage, data: _secrets } = secretsPagination;