1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +00:00

Add internal-link to share-dialog (#3862)

* Add internal-link to share-dialog

* fix code
This commit is contained in:
zxj96
2019-07-22 18:29:59 +08:00
committed by Daniel Pan
parent 9ae1270c0e
commit 9844081d79
3 changed files with 80 additions and 6 deletions

View File

@@ -39,10 +39,10 @@ class InternalLinkDialog extends React.Component {
this.setState({
isOpen: true,
smartLink: res.data.smart_link
}).catch(error => {
let errMessage = Utils.getErrorMsg(error);
toaster.danger(errMessage);
});
}).catch(error => {
let errMessage = Utils.getErrorMsg(error);
toaster.danger(errMessage);
});
}