mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 03:18:23 +00:00
Change select style (#5645)
* 01 change css file path * 02 change Select style
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import Select from 'react-select';
|
||||
import PropTypes from 'prop-types';
|
||||
import { gettext, ocmRemoteServers } from '../../utils/constants';
|
||||
import { Input } from 'reactstrap';
|
||||
import { Button } from 'reactstrap';
|
||||
import { Input, Button } from 'reactstrap';
|
||||
import { seafileAPI } from '../../utils/seafile-api';
|
||||
import { Utils } from '../../utils/utils';
|
||||
import toaster from '../toast';
|
||||
import OpIcon from '../op-icon';
|
||||
import SharePermissionEditor from '../select-editor/share-permission-editor';
|
||||
import { SeahubSelect } from '../common/select';
|
||||
|
||||
class ShareItem extends React.Component {
|
||||
|
||||
@@ -228,7 +227,7 @@ class ShareToOtherServer extends React.Component {
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<Select
|
||||
<SeahubSelect
|
||||
placeholder={gettext('Select a server...')}
|
||||
value={selectedServer}
|
||||
options={ocmRemoteServers}
|
||||
|
Reference in New Issue
Block a user