We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84f7f2 commit 898b11eCopy full SHA for 898b11e
src/components/Panels/Shared/HelpButton.vue
@@ -27,12 +27,17 @@ async function helpButtonClick() {
27
if (!link) return
28
29
if (await isTauri()) {
30
- new WebviewWindow(`help-${Date.now()}`, {
31
- url: link,
32
- title: 'Help - CircuitVerse',
33
- width: 1000,
34
- height: 700
35
- })
+ try {
+ new WebviewWindow(`help-${Date.now()}`, {
+ url: link,
+ title: 'Help - CircuitVerse',
+ width: 1000,
+ height: 700
36
+ })
37
+ } catch {
38
+ // Fallback to browser if WebviewWindow fails
39
+ window.open(link, '_blank')
40
+ }
41
} else {
42
window.open(link, '_blank')
43
}
0 commit comments