Skip to content

Commit 24e50a2

Browse files
committed
Fix issue #4341: show the Invite Copilot button (in the Manage copilots popup) for the admins
1 parent 90a9340 commit 24e50a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TeamManagement/CopilotManagementDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class ProjectManagementDialog extends React.Component {
182182
{i === 0 && !canManageCopilots && <div className="dialog-no-members" />}
183183
</div>
184184

185-
{canManageCopilots && (
185+
{(canManageCopilots || canRemoveCopilots) && (
186186
<div className="input-container">
187187
<div className="hint">invite more copilots</div>
188188
<AutocompleteInputContainer

0 commit comments

Comments
 (0)