Skip to content

Commit

Permalink
fix: changed icon title
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagner3UB committed Sep 27, 2024
1 parent bb60415 commit 90be73e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions packages/volto/src/components/manage/Toolbar/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,16 @@ class Toolbar extends Component {
<Icon
name={userSVG}
size="30px"
title={this.props.intl.formatMessage(
messages.adminUserlTools,
)}
title={
userHasRoles(this.props.user, [
'Site Administrator',
'Manager',
])
? this.props.intl.formatMessage(
messages.adminUserlTools,
)
: this.props.intl.formatMessage(messages.userTools)
}
/>
</button>
)}
Expand Down

0 comments on commit 90be73e

Please sign in to comment.