Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
RuntimeTerror10 committed May 9, 2024
2 parents df6e715 + f7d2d7b commit 4b68146
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export const useSharedListViewerColumns = ({ handleViewSharedListRule }: Props)
render: (_: any, record: RuleTableRecord) => (
<div
className={`shared-list-viewer-record-name ${isRule(record) ? "shared-list-viewer-rule-name" : ""}`}
onClick={() => handleViewSharedListRule(record)}
onClick={() => {
if (isRule(record)) {
handleViewSharedListRule(record);
}
}}
>
{record.name}
</div>
Expand Down

0 comments on commit 4b68146

Please sign in to comment.