From e30c960cf8257849b7c7c717c3aafb6008ce96c2 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Wed, 6 Jul 2022 14:27:13 +0300 Subject: [PATCH] Kludge "isEnabledForCluster" work again for cluster page menus (sidebar items) Signed-off-by: Janne Savolainen --- ...when-cluster-is-not-relevant.test.tsx.snap | 1563 +++++++++++++++++ ...tems-when-cluster-is-not-relevant.test.tsx | 111 ++ ...on-sidebar-item-registrator.injectable.tsx | 16 +- 3 files changed, 1689 insertions(+), 1 deletion(-) create mode 100644 src/behaviours/cluster/extension-api/__snapshots__/disable-sidebar-items-when-cluster-is-not-relevant.test.tsx.snap create mode 100644 src/behaviours/cluster/extension-api/disable-sidebar-items-when-cluster-is-not-relevant.test.tsx diff --git a/src/behaviours/cluster/extension-api/__snapshots__/disable-sidebar-items-when-cluster-is-not-relevant.test.tsx.snap b/src/behaviours/cluster/extension-api/__snapshots__/disable-sidebar-items-when-cluster-is-not-relevant.test.tsx.snap new file mode 100644 index 000000000000..0f322648760e --- /dev/null +++ b/src/behaviours/cluster/extension-api/__snapshots__/disable-sidebar-items-when-cluster-is-not-relevant.test.tsx.snap @@ -0,0 +1,1563 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`disable-sidebar-items-when-cluster-is-not-relevant given extension should be enabled for the cluster, when navigating renders 1`] = ` + +
+
+
+