diff --git a/README.md b/README.md index 13c8e3d..8f3b632 100644 --- a/README.md +++ b/README.md @@ -6,20 +6,25 @@ ccbikai/Sink | Trendshift - + Featured on Hacker News + + Uneed Badge + ![Cloudflare](https://img.shields.io/badge/Cloudflare-F69652?style=flat&logo=cloudflare&logoColor=white) ![Nuxt](https://img.shields.io/badge/Nuxt-00DC82?style=flat&logo=nuxtdotjs&logoColor=white) @@ -93,7 +98,7 @@ We welcome your contributions and PRs. 5. Save and deploy the project. 6. Cancel the deployment, then navigate to **Settings** -> **Bindings** -> **Add**: - - **KV Namespace**: Bind the variable name `KV` to a KV namespace (create a new one under **Workers & Pages** -> **KV**). + - **KV Namespace**: Bind the variable name `KV` to a [KV namespace](https://developers.cloudflare.com/kv/) (create a new one under **Storage & Databases** -> **KV**). - **Workers AI** (_Optional_): Bind the variable name `AI` to the Workers AI Catalog. - **Analytics Engine**: - In **Workers & Pages**, go to **Account details** on the right side, find `Analytics Engine`, and click `Set up` to enable the free version. @@ -123,5 +128,5 @@ We welcome your contributions and PRs. ## ☕ Sponsor -1. [Follow Me on X(Twitter)](https://x.com/0xKaiBi). +1. [Follow Me on X(Twitter)](https://404.li/kai). 2. [Become a sponsor to on GitHub](https://github.com/sponsors/ccbikai). diff --git a/components/dashboard/links/Editor.vue b/components/dashboard/links/Editor.vue index 7f24bf7..d21912e 100644 --- a/components/dashboard/links/Editor.vue +++ b/components/dashboard/links/Editor.vue @@ -114,7 +114,7 @@ async function onSubmit(formData) { body: link, }) dialogOpen.value = false - emit('update:link', newLink) + emit('update:link', newLink, isEdit ? 'edit' : 'create') if (isEdit) { toast('Link updated successfully') } diff --git a/package.json b/package.json index 4d8539d..00f4ff0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sink", "type": "module", - "version": "0.1.7", + "version": "0.1.8", "private": true, "packageManager": "pnpm@9.15.1", "engines": {