From 17b05511aa84c46ed7725880cbc62a0bd604d715 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 27 Apr 2023 01:08:28 -0700 Subject: [PATCH] refactor: change import type to radio --- .../client/src/pages/settings/import-export.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/client/src/pages/settings/import-export.vue b/packages/client/src/pages/settings/import-export.vue index 18fcc0400f..38afe798a3 100644 --- a/packages/client/src/pages/settings/import-export.vue +++ b/packages/client/src/pages/settings/import-export.vue @@ -21,9 +21,15 @@ - + + + + + + + { @@ -215,7 +221,7 @@ const importPosts = async (ev) => { const file = await selectFile(ev.currentTarget ?? ev.target); os.api("i/import-posts", { fileId: file.id, - signatureCheck: signatureCheck.value, + signatureCheck: importType.value === "mastodon" ? true : false, }) .then(onImportSuccess) .catch(onError);