1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-30 04:25:47 +00:00

fix-translation (#2896)

This commit is contained in:
Michael An 2019-01-28 16:22:56 +08:00 committed by Daniel Pan
parent f33aa7123a
commit 55da78826e
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import { gettext } from '../../utils/constants';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Table } from 'reactstrap';
import { seafileAPI } from '../../utils/seafile-api.js';
import RoleEditor from '../select-editor/role-eidtor';
import UserSelect from '../../models/user-select';
import UserSelect from '../user-select.js';
import '../../css/manage-members-dialog.css';
const propTypes = {

View File

@ -2,7 +2,6 @@ import React from 'react';
import PropTypes from 'prop-types';
import AsyncSelect from 'react-select/lib/Async';
import { seafileAPI } from '../utils/seafile-api.js';
import { gettext } from '../utils/constants';
const propTypes = {
placeholder: PropTypes.string.isRequired,
@ -57,7 +56,7 @@ class UserSelect extends React.Component {
isMulti={this.props.isMulti}
loadOptions={this.loadOptions}
onChange={this.handleSelectChange}
placeholder={gettext(this.props.placeholder)}
placeholder={this.props.placeholder}
className={this.props.className}
ref="userSelect"
/>