Merge pull request #130 from grafana/1199-demoalert-closes-dropdown

fix to not close the collapse component
This commit is contained in:
Matvey Kukuy 2022-06-22 16:37:10 +03:00 committed by GitHub
commit 4d98bf12e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -726,7 +726,7 @@ class AlertRules extends React.Component<AlertRulesProps, AlertRulesState> {
/>
</WithPermissionControl>
</div>
<div>{this.renderChannelFilterButtons(channelFilterId, index)}</div>
<div onClick={(e) => e.stopPropagation()}>{this.renderChannelFilterButtons(channelFilterId, index)}</div>
</div>
);
};