Added new SYSTEM_WITHHELD comment status

This commit is contained in:
Wyatt Johnson
2017-09-11 11:09:21 -06:00
parent ab1f1dee3e
commit 49f09b87a0
11 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export const name = 'talk-plugin-commentbox';
export const notifyForNewCommentStatus = (notify, status) => {
if (status === 'REJECTED') {
notify('error', t('comment_box.comment_post_banned_word'));
} else if (status === 'PREMOD') {
} else if (status === 'PREMOD' || status === 'SYSTEM_WITHHELD') {
notify('success', t('comment_box.comment_post_notif_premod'));
}
};