mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 15:34:09 +08:00
changes
This commit is contained in:
@@ -67,8 +67,8 @@ function addCommentToQueue(root, queue, comment, sort) {
|
||||
function getCommentQueues(comment) {
|
||||
const queues = ['all'];
|
||||
|
||||
if (comment.status === 'ACCEPTED') {
|
||||
queues.push('accepted');
|
||||
if (comment.status === 'APPROVED') {
|
||||
queues.push('approved');
|
||||
}
|
||||
else if (comment.status === 'REJECTED') {
|
||||
queues.push('rejected');
|
||||
@@ -83,7 +83,7 @@ function getCommentQueues(comment) {
|
||||
queues.push('premod');
|
||||
queues.push('new');
|
||||
}
|
||||
if (comment.status === 'NONE') {
|
||||
else if (comment.status === 'NONE') {
|
||||
queues.push('new');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user