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

[seafile-js] updated the version

This commit is contained in:
llj
2023-04-04 16:43:54 +08:00
parent 9f78eddb2f
commit b79a46fde1
4 changed files with 10 additions and 10 deletions

View File

@@ -103,7 +103,7 @@ class ShareLinkPanel extends React.Component {
sharedLinkInfo: null,
shareLinks: shareLinks.filter(item => item.token !== sharedLinkInfo.token)
});
toaster.success(gettext('The link is deleted.'));
toaster.success(gettext('The link was deleted.'));
}).catch((error) => {
let errMessage = Utils.getErrorMsg(error);
toaster.danger(errMessage);

View File

@@ -157,7 +157,7 @@ class LinkCreation extends React.Component {
}
}
if (isShowPasswordInput) {
if (type == 'single' && isShowPasswordInput) {
if (password.length === 0) {
this.setState({errorInfo: gettext('Please enter a password.')});
return false;