We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2ebbc commit 43e6db9Copy full SHA for 43e6db9
1 file changed
workspaces/dcm/plugins/dcm/src/pages/policies/PoliciesTabContent.tsx
@@ -172,7 +172,7 @@ export function PoliciesTabContent() {
172
title: 'Enabled',
173
field: 'enabled',
174
render: p => {
175
- const isEnabled = p.enabled === true;
+ const isEnabled = p.enabled ?? true;
176
return (
177
<Chip
178
label={isEnabled ? 'Yes' : 'No'}
@@ -204,7 +204,7 @@ export function PoliciesTabContent() {
204
205
const id = p.id ?? '';
206
const isToggling = togglingIds.has(id);
207
- const isEnabled = p.enabled !== false;
208
209
<Box className={classes.actionsCellBox}>
210
<Tooltip
0 commit comments