mirror of
https://github.com/wassname/talk.git
synced 2026-07-24 13:20:47 +08:00
New Queue should appear if there are comments with NONE status
This commit is contained in:
@@ -219,7 +219,7 @@ class ModerationContainer extends Component {
|
||||
|
||||
const currentQueueConfig = Object.assign({}, this.props.queueConfig);
|
||||
|
||||
if (premodEnabled) {
|
||||
if (premodEnabled && root.newCount === 0) {
|
||||
delete currentQueueConfig.new;
|
||||
} else if (root.premodCount === 0) {
|
||||
delete currentQueueConfig.premod;
|
||||
|
||||
Reference in New Issue
Block a user