From c83edb4bc3fe2fb6c822e3476777131b5365ded5 Mon Sep 17 00:00:00 2001 From: Kateryna Kodonenko Date: Fri, 10 Jan 2025 12:07:49 -0500 Subject: [PATCH 1/3] Make links open in sync modal --- src/components/sync-sites-modal-selector.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/sync-sites-modal-selector.tsx b/src/components/sync-sites-modal-selector.tsx index a2398e184..c5b846416 100644 --- a/src/components/sync-sites-modal-selector.tsx +++ b/src/components/sync-sites-modal-selector.tsx @@ -206,11 +206,16 @@ function SiteItem( {
{ site.name }
-
getIpcApi().openURL( site.url ) } > { site.url.replace( /^https?:\/\//, '' ) } -
+ { isSyncable && (
From fd4ee5ae7dbe0eae3232175148abab9ddad21b30 Mon Sep 17 00:00:00 2001 From: Kateryna Kodonenko Date: Fri, 10 Jan 2025 14:19:35 -0500 Subject: [PATCH 2/3] Fix selected state --- src/components/sync-sites-modal-selector.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/sync-sites-modal-selector.tsx b/src/components/sync-sites-modal-selector.tsx index c5b846416..6d7ad602b 100644 --- a/src/components/sync-sites-modal-selector.tsx +++ b/src/components/sync-sites-modal-selector.tsx @@ -209,8 +209,10 @@ function SiteItem( {
{ isSyncable && (