-
+
+ {m.subject.type === 'ReconciliationPaused' && (
+ <>
+
+
+ >
+ )}
{
- if (!kafkaId) {
- console.log("kafkaId is undefined");
+ if (!kafkaCluster) {
+ console.log("kafkaCluster is undefined");
return;
}
try {
- const success = await updateKafkaCluster(kafkaId, false);
+ const success = await updateKafkaCluster(kafkaCluster.id, false);
if (success) {
setReconciliationPaused(false);
@@ -36,6 +39,7 @@ export function ReconciliationPausedBanner({ kafkaId }: { kafkaId: string | unde
{t("reconciliation.reconciliation_paused_warning")}
+