1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add Reindex buttons to repository settings page (#17494)

This PR adds reindexing request buttons to the repository settings page.

Fix #3796

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
zeripath
2021-12-16 15:55:12 +00:00
committed by GitHub
parent 3a3cbcfdf0
commit e0e3ba6c12
4 changed files with 95 additions and 2 deletions

View File

@@ -161,7 +161,8 @@ type RepoSettingForm struct {
TrustModel string
// Admin settings
EnableHealthCheck bool
EnableHealthCheck bool
RequestReindexType string
}
// Validate validates the fields