Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imwhatiam committed Jan 8, 2025
1 parent bbf39fa commit db6a2d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/dialog/share-to-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ class ShareToUser extends React.Component {

render() {
let showDeptBtn = true;
if (window.app.config.lang !== 'zh-cn') {
showDeptBtn = false;
}
if (cloudMode && !isOrgContext) {
showDeptBtn = false;
}
Expand Down

0 comments on commit db6a2d6

Please sign in to comment.