mirror of
https://github.com/wassname/talk.git
synced 2026-07-18 12:40:13 +08:00
Adding single view and restyling selected comment.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import React, {PropTypes} from 'react';
|
||||
|
||||
import Comment from './components/Comment';
|
||||
import styles from './components/styles.css';
|
||||
import EmptyCard from '../../components/EmptyCard';
|
||||
import {actionsMap} from './helpers/moderationQueueActionsMap';
|
||||
import I18n from 'coral-framework/modules/i18n/i18n';
|
||||
import translations from 'coral-admin/src/translations';
|
||||
|
||||
const lang = new I18n(translations);
|
||||
const ModerationQueue = ({comments, selectedIndex, ...props}) => {
|
||||
const ModerationQueue = ({comments, selectedIndex, singleView, ...props}) => {
|
||||
return (
|
||||
<div id="moderationList">
|
||||
<div id="moderationList" className={`${styles.list} ${singleView ? styles.singleView : ''}`}>
|
||||
<ul style={{paddingLeft: 0}}>
|
||||
{
|
||||
comments.length
|
||||
|
||||
Reference in New Issue
Block a user