mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 19:08:21 +00:00
Update react version 3 (#7453)
* update react version * update reactstrap * optimize code * update react-select version * update react-responsive * update react-chartjs version * update qrocde version * update seafile-editor version * update tldraw editor version * fix code bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import dayjs from 'dayjs';
|
||||
import { FormGroup, Label, Input, InputGroup, InputGroupAddon, InputGroupText, FormText } from 'reactstrap';
|
||||
import { FormGroup, Label, Input, InputGroup, InputGroupText, FormText } from 'reactstrap';
|
||||
import { gettext } from '../utils/constants';
|
||||
import { Utils } from '../utils/utils';
|
||||
import DateTimePicker from './date-and-time-picker';
|
||||
@@ -85,9 +85,7 @@ class SetLinkExpiration extends React.Component {
|
||||
<Fragment>
|
||||
<InputGroup style={{ width: inputWidth }}>
|
||||
<Input type="text" value={expireDays} onChange={onExpireDaysChanged} />
|
||||
<InputGroupAddon addonType="append">
|
||||
<InputGroupText>{gettext('days')}</InputGroupText>
|
||||
</InputGroupAddon>
|
||||
<InputGroupText>{gettext('days')}</InputGroupText>
|
||||
</InputGroup>
|
||||
{!this.isExpireDaysNoLimit && (
|
||||
<FormText color="muted">{this.expirationLimitTip}</FormText>
|
||||
|
Reference in New Issue
Block a user