From 575d7f80b1218172a18324a4dcf24b23660d9f96 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Tue, 17 Jun 2025 02:40:48 +0400 Subject: [PATCH] style: remove switch release option for zen and chromium --- src/components/profile-data-table.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/profile-data-table.tsx b/src/components/profile-data-table.tsx index d13622d..dc79f8b 100644 --- a/src/components/profile-data-table.tsx +++ b/src/components/profile-data-table.tsx @@ -381,14 +381,16 @@ export function ProfilesDataTable({ > Configure Proxy - { - onChangeVersion(profile); - }} - disabled={!isClient || isRunning || isBrowserUpdating} - > - Switch Release - + {["chromium", "zen"].includes(profile.browser) && ( + { + onChangeVersion(profile); + }} + disabled={!isClient || isRunning || isBrowserUpdating} + > + Switch Release + + )} { setProfileToRename(profile);