We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d35800 commit b4cd833Copy full SHA for b4cd833
packages/mask/popups/pages/Personas/index.tsx
@@ -48,7 +48,7 @@ const Persona = memo(() => {
48
const groups = await Services.SiteAdaptor.getOriginsWithoutPermission()
49
const origins = groups.flatMap((x) => x.origins)
50
51
- if (origins.every((x) => x === 'https://www.x.com/*' || x === 'https://x.com/*')) {
+ if (origins.length && origins.every((x) => x === 'https://www.x.com/*' || x === 'https://x.com/*')) {
52
modalNavigate(PopupModalRoutes.UpdatePermissions)
53
}
54
}, [])
0 commit comments