1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

Share bug repair 2 (#3547)

* repair share default data bug

* repair folder-img size
This commit is contained in:
杨顺强
2019-05-28 08:56:13 +08:00
committed by Daniel Pan
parent 2e853b001d
commit d057518f5f
8 changed files with 12 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import moment from 'moment';
import copy from 'copy-to-clipboard';
import { Button, Form, FormGroup, Label, Input, InputGroup, InputGroupAddon, Alert } from 'reactstrap';
import { gettext, shareLinkExpireDaysMin, shareLinkExpireDaysMax, shareLinkPasswordMinLength } from '../../utils/constants';
import { gettext, shareLinkExpireDaysMin, shareLinkExpireDaysMax, shareLinkExpireDaysDefault, shareLinkPasswordMinLength } from '../../utils/constants';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import SharedLinkInfo from '../../models/shared-link-info';
@@ -27,7 +27,7 @@ class GenerateShareLink extends React.Component {
isExpireChecked: false,
password: '',
passwdnew: '',
expireDays: '',
expireDays: shareLinkExpireDaysDefault,
errorInfo: '',
sharedLinkInfo: null,
isNoticeMessageShow: false,