mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 21:30:39 +00:00
multi select and fix image src
This commit is contained in:
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import { Tooltip } from 'reactstrap';
|
||||
import ModalPortal from '../modal-portal';
|
||||
import FileParticipantDialog from '../dialog/file-participant-dialog';
|
||||
import { serviceURL, gettext } from '../../utils/constants';
|
||||
import { gettext } from '../../utils/constants';
|
||||
import '../../css/participants-list.css';
|
||||
|
||||
const propTypes = {
|
||||
@@ -37,7 +37,7 @@ class ParticipantsList extends React.Component {
|
||||
return (
|
||||
<div className="participants mb-2 position-relative">
|
||||
{participants.map((item, index) => {
|
||||
return <img src={serviceURL + item.avatar_url} className="avatar" alt="avatar" key={index} style={{left: index * -7 + 'px'}}/>;
|
||||
return <img src={item.avatar_url} className="avatar" alt="avatar" key={index} style={{left: index * -7 + 'px'}}/>;
|
||||
})}
|
||||
<span className="add-participants" style={{left: participants.length * 21, top: 8 }} onClick={this.toggleDialog} id="add-participant-icon">
|
||||
<i className="fas fa-plus-circle"></i>
|
||||
|
Reference in New Issue
Block a user