From bbe1e618a3e1785b32bed1d55a8c693e066f5ab2 Mon Sep 17 00:00:00 2001 From: Louis <133622055+louis-jan@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:57:36 +0700 Subject: [PATCH] fix: #479 - Toggle plugin is now experimental feature (#531) --- .../Settings/CorePlugins/PluginsCatalog.tsx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/web/screens/Settings/CorePlugins/PluginsCatalog.tsx b/web/screens/Settings/CorePlugins/PluginsCatalog.tsx index 48b64bb72..a6ba4f0f6 100644 --- a/web/screens/Settings/CorePlugins/PluginsCatalog.tsx +++ b/web/screens/Settings/CorePlugins/PluginsCatalog.tsx @@ -169,16 +169,18 @@ const PluginCatalog = () => { )} - { - if (e === true) { - downloadTarball(item.name) - } else { - uninstall(item.name) - } - }} - /> + {experimentalFeatureEnabed && ( + { + if (e === true) { + downloadTarball(item.name) + } else { + uninstall(item.name) + } + }} + /> + )} ) })}