You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description={resource.jsonData.spec.force ? `Disable force reconciliation for ${resource.metadata.name}` : `Enable force reconciliation for ${resource.metadata.name}`}
response.spec.force ? `Successfully Disabled force reconciliation for ${resource.metadata.name}` : `Successfully Enabled force reconciliation for ${resource.metadata.name}`,
38
+
{variant: 'success'}
39
+
);
40
+
})
41
+
.catch(error=>{
42
+
enqueueSnackbar(
43
+
`error ${error}`,
44
+
{variant: 'error'}
45
+
);
46
+
});
47
+
}}
48
+
title={resource.jsonData.force ? 'Enable Force Reconciliation' : 'Disable Force Reconciliation'}
49
+
description={`${resource.jsonData.force ? 'Are you sure you want to enable force reconciliation for ' : 'Are you sure you want to disable force reconciliation for '}${resource?.jsonData.metadata.name}?`}
50
+
/>
51
+
</>
52
+
);
53
+
}
54
+
6
55
functionSuspendAction(props){
7
56
const{ enqueueSnackbar }=useSnackbar();
8
57
const{ resource }=props;
@@ -248,4 +297,4 @@ function SyncWithoutSourceAction(props) {
0 commit comments