Skip to content

Commit

Permalink
PB-34236 Retrieving folder activities in CE displaying no data
Browse files Browse the repository at this point in the history
  • Loading branch information
Benj1er committed Jul 29, 2024
1 parent 8f3e727 commit 9ac1e3a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class DisplayResourceFolderDetails extends React.Component {
*/
render() {
const canViewShare = this.props.rbacContext.canIUseUiAction(uiActions.SHARE_FOLDER);
const canUseAuditLog = this.props.context.siteSettings.canIUse("auditLog");

return (
<div className="panel aside ready">
Expand Down Expand Up @@ -101,7 +102,9 @@ class DisplayResourceFolderDetails extends React.Component {
{canViewShare &&
<DisplayResourceFolderDetailsPermissions/>
}
<DisplayResourceFolderDetailsActivity/>
{canUseAuditLog &&
<DisplayResourceFolderDetailsActivity/>
}
</div>
</div>
);
Expand Down

0 comments on commit 9ac1e3a

Please sign in to comment.