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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user