Merge pull request #1530 from clintabrown/fix-view-context-system-withheld

Fix admin View Context view for comments with SYSTEM_WITHHELD status
This commit is contained in:
Kim Gardner
2018-04-18 16:51:05 -04:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
@@ -18,6 +18,10 @@ const InactiveCommentLabel = ({ status, className, ...rest }) => {
label = t('modqueue.rejected');
icon = 'close';
break;
case 'SYSTEM_WITHHELD':
label = t('modqueue.system_withheld');
icon = 'flag';
break;
default:
throw new Error(`Unknown inactive status ${status}`);
}
+1
View File
@@ -344,6 +344,7 @@ en:
sort: "Sort"
show_shortcuts: "Show Shortcuts"
singleview: "Zen mode"
system_withheld: "System Withheld"
thismenu: "Open this menu"
jump_to_queue: "Jump to specific queue"
thousand: k