Skip to content

Commit 369fc4c

Browse files
committed
fix see the docs link
1 parent c2d25a1 commit 369fc4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/ApiKeyForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
Need a Claude API key?
4444
<a
4545
href="https://docs.anthropic.com/en/api/overview#accessing-the-api"
46-
@click.prevent="$request('openExternal', { link: $event.target.href })"
46+
@click.prevent="$openExternal($event.target.href)"
4747
>See the docs</a
4848
>.
4949
</p>

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import App from "./App.vue";
2727
import {
2828
addNotificationListener,
2929
setDebugComms,
30-
request,
30+
openExternal,
3131
} from "@beekeeperstudio/plugin";
3232
import hljs from "highlight.js/lib/core";
3333
import javascript from "highlight.js/lib/languages/javascript";
@@ -51,5 +51,5 @@ const app = createApp(App);
5151
const pinia = createPinia();
5252
app.use(pinia);
5353
app.config.globalProperties.$pluralize = pluralize;
54-
app.config.globalProperties.$request = request;
54+
app.config.globalProperties.$openExternal = openExternal;
5555
app.mount("#app");

0 commit comments

Comments
 (0)