diff --git a/src/extensions/registries/modal-registry.ts b/src/extensions/registries/modal-registry.ts index fb9f99c634..7b31aa1152 100644 --- a/src/extensions/registries/modal-registry.ts +++ b/src/extensions/registries/modal-registry.ts @@ -10,6 +10,6 @@ import type { IComputedValue } from "mobx"; export interface ClusterModalRegistration { id: string; Component: React.ComponentType; - visible?: IComputedValue; + visible: IComputedValue; } diff --git a/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap b/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap index f4efc1e286..344ed10635 100644 --- a/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap +++ b/src/features/cluster/__snapshots__/cluster-modal-items.test.tsx.snap @@ -1,6 +1,518 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cluster modal elements given custom cluster modal available renders 1`] = ` +exports[` elements originated from cluster modal registration given custom component for cluster view not available renders 1`] = ` +
+
+
+
+