1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

Give hint when permission is not enough

This commit is contained in:
zxj96
2019-05-17 14:47:06 +08:00
parent a8533a9a7d
commit cf5894503d

View File

@@ -134,6 +134,9 @@ class LibContentView extends React.Component {
isDirentListLoading: false,
errorMsg: gettext('Permission denied')
});
let errorMsg = gettext('Permission denied');
toaster.danger(errorMsg);
} else {
this.setState({
isDirentListLoading: false,