This is an automated email from the ASF dual-hosted git repository.
kumfo pushed a commit to branch feat/reviewer-basic
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
The following commit(s) were added to refs/heads/feat/reviewer-basic by this
push:
new 9055cca feat(review): option style
9055cca is described below
commit 9055ccab2f24b8184cafef4cda800a9b56dd325d
Author: kumfo <[email protected]>
AuthorDate: Mon May 6 15:42:06 2024 +0800
feat(review): option style
---
reviewer-basic/basic.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go
index 5712cc3..6763a06 100644
--- a/reviewer-basic/basic.go
+++ b/reviewer-basic/basic.go
@@ -135,7 +135,8 @@ func (r *Reviewer) ConfigFields() []plugin.ConfigField {
Type: plugin.ConfigTypeSwitch,
Title:
plugin.MakeTranslator(i18n.ConfigReviewPostTitle),
UIOptions: plugin.ConfigFieldUIOptions{
- Label:
plugin.MakeTranslator(i18n.ConfigReviewPostLabelAll),
+ Label:
plugin.MakeTranslator(i18n.ConfigReviewPostLabelAll),
+ FieldClassName: "mb-0",
},
Value: r.Config.PostAllNeedReview,
},