1
0
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:
Michael An
2023-09-18 10:01:30 +08:00
committed by GitHub
parent 8a09906cfb
commit f278cfd3bb
16 changed files with 206 additions and 86 deletions

View File

@@ -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}