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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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