From 6bc0753a774000127d654fe61ae30c2021989493 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Tue, 20 Sep 2022 16:07:21 -0400 Subject: [PATCH] Fix tests --- .../integrations/sections/epm/screens/detail/assets/assets.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx index baffab36585d5..8d130c04bac5d 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx @@ -52,7 +52,7 @@ export const AssetsPage = ({ packageInfo }: AssetsPanelProps) => { const [assetSavedObjects, setAssetsSavedObjects] = useState(); const [fetchError, setFetchError] = useState(); const [isLoading, setIsLoading] = useState(true); - const [hasPermissionError, setHasPermissionError] = useState(true); + const [hasPermissionError, setHasPermissionError] = useState(false); useEffect(() => { const fetchAssetSavedObjects = async () => {