Skip to content

Commit

Permalink
fix: Disable remove system-workspace in cluster visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Jul 7, 2020
1 parent e439e7b commit 4d7e79e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ export default class ClusterVisibility extends React.Component {
key={item.name}
data={item}
type="authed"
disabled={isPublic}
disabled={
isPublic || globals.config.systemWorkspace === item.name
}
onClick={this.handleWorkspaceUnAuth}
/>
))}
Expand Down

0 comments on commit 4d7e79e

Please sign in to comment.