mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-30 13:23:14 +00:00
fix-translation (#2896)
This commit is contained in:
parent
f33aa7123a
commit
55da78826e
@ -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 = {
|
||||
|
@ -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"
|
||||
/>
|
Loading…
Reference in New Issue
Block a user