-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Some small fixes #1674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Some small fixes #1674
Conversation
| {!readonly && <MenuItem onClick={handleGeofence}>{t('sharedCreateGeofence')}</MenuItem>} | ||
| <MenuItem component="a" target="_blank" href={`https://www.google.com/maps/search/?api=1&query=${position.latitude}%2C${position.longitude}`}>{t('linkGoogleMaps')}</MenuItem> | ||
| <MenuItem component="a" target="_blank" href={`http://maps.apple.com/?ll=${position.latitude},${position.longitude}`}>{t('linkAppleMaps')}</MenuItem> | ||
| <MenuItem component="a" target="_blank" href={`https://maps.apple.com/?ll=${position.latitude},${position.longitude}`}>{t('linkAppleMaps')}</MenuItem> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correctly intercepted on iOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On an iphone with IOS26, when entering something like "https://maps.apple.com/?ll=37.7749,-122.4194" in safari, it proposes to open in apple maps.
| .replaceAll('\n', '<br>') | ||
| .replaceAll(' ', ' '); | ||
| return ( | ||
| <Alert severity="error"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do something like this instead?
if (error) {
return (
<Alert severity="error">
<code style={{ whiteSpace: 'pre-wrap' }}>
{error.stack}
</code>
</Alert>
);
}
No description provided.