Skip to content

Commit

Permalink
chore: update bucket diff condition description (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
silenceqi authored Feb 14, 2025
1 parent d21326d commit cc5fb28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/src/locales/en-US/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export default {
"alert.rule.form.label.metrics_value": "Metrics value",
"alert.rule.form.label.buckets_diff": "Buckets diff",
"alert.rule.form.label.above_metric": "Above metrics",
"alert.rule.form.label.size": "Docs count",
"alert.rule.form.label.content": "Content",
"alert.rule.form.label.size": "Doc diff",
"alert.rule.form.label.content": "Content diff",
"alert.rule.form.label.in": "In",
"alert.rule.form.label.content.changed": "Changed",
"alert.rule.form.label.lasts_periods": "Lasts {num} periods",
Expand Down
4 changes: 2 additions & 2 deletions web/src/locales/zh-CN/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export default {
"alert.rule.form.label.metrics_value": "指标数值",
"alert.rule.form.label.buckets_diff": "分桶对比",
"alert.rule.form.label.above_metric": "以上指标",
"alert.rule.form.label.size": "文档数",
"alert.rule.form.label.content": "内容",
"alert.rule.form.label.size": "文档差异数",
"alert.rule.form.label.content": "内容差异数",
"alert.rule.form.label.in": "在",
"alert.rule.form.label.content.changed": "变更",
"alert.rule.form.label.lasts_periods": "持续{num}个周期",
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Alerting/Rule/FormAlertCondition.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const BucketsDiff = (props) => {
initialValue: conditionItem.type || "size",
}
)(
<Select style={{ width: 110 }} onChange={(value) => {
<Select style={{ width: 120 }} onChange={(value) => {
const newItems = cloneDeep(conditionItems)
newItems[i].type = value
if (value === 'content') {
Expand Down

0 comments on commit cc5fb28

Please sign in to comment.