Skip to content

Commit 5ba6723

Browse files
committed
feat(Todos): Allow todos to open links in browser
1 parent 9180318 commit 5ba6723

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/features/todos/store.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ export default class TodoStore extends FeatureStore {
162162
theme: isDarkThemeActive ? ThemeType.dark : ThemeType.default,
163163
},
164164
});
165+
166+
this.webview.addEventListener('new-window', ({ url }) => {
167+
this.actions.app.openExternalUrl({ url });
168+
});
165169
};
166170

167171
_goToService = ({ url, serviceId }) => {

0 commit comments

Comments
 (0)