summaryrefslogtreecommitdiff
path: root/packages/client/src/pages/settings/webhook.edit.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-07-20 23:21:42 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-07-20 23:21:42 +0900
commit8261321dacc79f7fbecc47e9cd9a73c4fa0f73f5 (patch)
tree63afe3094d5bb97a3216a12d5a41417e8476bfaf /packages/client/src/pages/settings/webhook.edit.vue
parentAdd vi-VN language support (diff)
downloadmisskey-8261321dacc79f7fbecc47e9cd9a73c4fa0f73f5.tar.gz
misskey-8261321dacc79f7fbecc47e9cd9a73c4fa0f73f5.tar.bz2
misskey-8261321dacc79f7fbecc47e9cd9a73c4fa0f73f5.zip
fix(client): fix some routings
Diffstat (limited to 'packages/client/src/pages/settings/webhook.edit.vue')
-rw-r--r--packages/client/src/pages/settings/webhook.edit.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/client/src/pages/settings/webhook.edit.vue b/packages/client/src/pages/settings/webhook.edit.vue
index 618250958b..e36e1d7540 100644
--- a/packages/client/src/pages/settings/webhook.edit.vue
+++ b/packages/client/src/pages/settings/webhook.edit.vue
@@ -43,8 +43,12 @@ import * as os from '@/os';
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
+const props = defineProps<{
+ webhookId: string;
+}>();
+
const webhook = await os.api('i/webhooks/show', {
- webhookId: new URLSearchParams(window.location.search).get('id'),
+ webhookId: props.webhookId,
});
let name = $ref(webhook.name);