Skip to content

Commit

Permalink
disable status column if license is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Mar 23, 2022
1 parent b98f947 commit d3e9162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/observability/public/pages/rules/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function RulesPage() {
render: (_enabled: boolean, item: RuleTableItem) => {
return (
<StatusContext
disabled={!item.isEditable}
disabled={!item.isEditable || !item.enabledInLicense}
item={item}
onStatusChanged={() => reload()}
enableRule={async () => await enableRule({ http, id: item.id })}
Expand Down

0 comments on commit d3e9162

Please sign in to comment.