From bc6279f002fb42f4ad2a747fac410a82d95752d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Poizat?= Date: Fri, 15 Nov 2024 16:21:02 +0100 Subject: [PATCH] fix: Documents link in flagship app Android target='_blank' is breaking the interceptNavigation in Android. We should investigate why. --- src/components/AppLayout.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/AppLayout.jsx b/src/components/AppLayout.jsx index b27c36b..e385e03 100644 --- a/src/components/AppLayout.jsx +++ b/src/components/AppLayout.jsx @@ -4,6 +4,7 @@ import { Outlet, useLocation, useNavigate } from 'react-router-dom' import { BarCenter, BarComponent } from 'cozy-bar' import { useClient } from 'cozy-client' +import { isFlagshipApp } from 'cozy-device-helper' import Icon from 'cozy-ui/transpiled/react/Icon' import CalendarIcon from 'cozy-ui/transpiled/react/Icons/Calendar' import CheckboxIcon from 'cozy-ui/transpiled/react/Icons/Checkbox' @@ -109,7 +110,10 @@ const AppLayout = () => { - + {t('Sidebar.documents')} {!isMobile && (