diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-05-20 11:32:17 +0200 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2025-05-28 13:25:41 +0200 |
| commit | 2156ac3fb4d69c3d16f988b22f02914b8975ce87 (patch) | |
| tree | 3567b4f0ba579ab432f023528253430fc7722aba | |
| parent | 2266605526a26c9802387434a564397186ec8d9e (diff) | |
| download | mullvadvpn-2156ac3fb4d69c3d16f988b22f02914b8975ce87.tar.xz mullvadvpn-2156ac3fb4d69c3d16f988b22f02914b8975ce87.zip | |
Replace 'open-url' with 'navigate-external' for SystemNotificationAction
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/shared/notifications/notification.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/packages/mullvad-vpn/src/shared/notifications/notification.ts b/desktop/packages/mullvad-vpn/src/shared/notifications/notification.ts index a4dd78a2b2..72e30b96fe 100644 --- a/desktop/packages/mullvad-vpn/src/shared/notifications/notification.ts +++ b/desktop/packages/mullvad-vpn/src/shared/notifications/notification.ts @@ -4,10 +4,12 @@ import { ButtonProps } from '../../renderer/lib/components'; import { Url } from '../constants'; export type SystemNotificationAction = { - type: 'open-url'; - url: Url; - text?: string; - withAuth?: boolean; + type: 'navigate-external'; + link: { + to: Url; + text?: string; + withAuth?: boolean; + }; }; export interface InAppNotificationTroubleshootInfo { |
