このコミットが含まれているのは:
2026-10-29 18:10:13 +09:00
コミット 9f92dbfb06
5個のファイルの変更、27行の追加、7行の削除
+7 -1
ファイルの表示
@@ -454,8 +454,14 @@ export const countsConditionValue = (
return translateUIMessage ('bot', 'counts', locale).text
if (value == null) return 'NULL'
if (axis.field === 'tags' || axis.field === 'user')
return labels?.[axis.field]?.[String (value)]
{
if (labels == null) return '…'
const names = labels[axis.field]
if (names == null || !Object.prototype.hasOwnProperty.call (names, String (value)))
return '—'
return names[String (value)]
|| translateUIMessage ('notRegistered', 'counts', locale).text
}
if (axis.field === 'changed_field')
return translateUIMessage (countsFieldLabel (String (value)), 'counts', locale).text
if (typeof value === 'boolean')