aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/src/stores/Service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/renderer/src/stores/Service.ts')
-rw-r--r--packages/renderer/src/stores/Service.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/renderer/src/stores/Service.ts b/packages/renderer/src/stores/Service.ts
index c50e5bd..e14d80b 100644
--- a/packages/renderer/src/stores/Service.ts
+++ b/packages/renderer/src/stores/Service.ts
@@ -80,6 +80,34 @@ const Service = defineServiceModel(ServiceSettings).actions((self) => {
80 action: 'open-current-url-in-external-browser', 80 action: 'open-current-url-in-external-browser',
81 }); 81 });
82 }, 82 },
83 followPopup(url: string): void {
84 dispatch({
85 action: 'follow-popup',
86 url,
87 });
88 },
89 openPopupInExternalBrowser(url: string): void {
90 dispatch({
91 action: 'open-popup-in-external-browser',
92 url,
93 });
94 },
95 openAllPopupsInExternalBrowser(): void {
96 dispatch({
97 action: 'open-all-popups-in-external-browser',
98 });
99 },
100 dismissPopup(url: string): void {
101 dispatch({
102 action: 'dismiss-popup',
103 url,
104 });
105 },
106 dismissAllPopups(): void {
107 dispatch({
108 action: 'dismiss-all-popups',
109 });
110 },
83 }; 111 };
84}); 112});
85 113