Tune moderation UIs

This commit is contained in:
Paul Frazee
2024-03-10 18:31:49 -07:00
parent 2d5080d34d
commit 3706719033
6 changed files with 45 additions and 109 deletions
@@ -102,7 +102,7 @@ export function useModerationCauseDescription(
}
}
if (cause.type === 'label') {
const def = getDefinition(labelDefs, cause.label)
const def = cause.labelDef || getDefinition(labelDefs, cause.label)
const strings = getLabelStrings(i18n.locale, globalLabelStrings, def)
const labeler = labelers.find(l => l.creator.did === cause.label.src)
return {