From bd0d5bc663c69fed5ff5b5f14fda7dad2fe02340 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 9 Aug 2022 13:23:02 +0200 Subject: [PATCH] :sparkles: Make icon Ctrl-clickable Will open a new tab --- src/components/AppShelf/AppShelfItem.tsx | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/AppShelf/AppShelfItem.tsx b/src/components/AppShelf/AppShelfItem.tsx index 6c35923e8..c4cd80d16 100644 --- a/src/components/AppShelf/AppShelfItem.tsx +++ b/src/components/AppShelf/AppShelfItem.tsx @@ -120,20 +120,20 @@ export function AppShelfItem(props: any) { scale: 1.1, }} > - { - if (service.openedUrl) { - window.open(service.openedUrl, service.newTab === false ? '_top' : '_blank'); - } else window.open(service.url, service.newTab === false ? '_top' : '_blank'); - }} - /> + + +