From 8a6d5e163915c175be7b0cf8369aa5ef0ad99d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=A1=BA=E5=BC=BA?= Date: Tue, 20 Oct 2020 11:31:40 +0800 Subject: [PATCH] repair no userPerm bug (#4696) --- frontend/src/pages/lib-content-view/lib-content-toolbar.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/pages/lib-content-view/lib-content-toolbar.js b/frontend/src/pages/lib-content-view/lib-content-toolbar.js index 7f868f45a2..ee5fcd51df 100644 --- a/frontend/src/pages/lib-content-view/lib-content-toolbar.js +++ b/frontend/src/pages/lib-content-view/lib-content-toolbar.js @@ -55,10 +55,6 @@ class LibContentToolbar extends React.Component { render() { - if (!this.props.userPerm) { - return
- } - if (this.props.isViewFile) { return (