From f33a51e61f11dccd2ec04e855a338d67526c2535 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sat, 28 Aug 2021 13:27:16 +0530 Subject: [PATCH] Add support for overriding subscriptions when importing. --- src/components/ImportPage.vue | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/components/ImportPage.vue b/src/components/ImportPage.vue index fefabf39..ecde57b7 100644 --- a/src/components/ImportPage.vue +++ b/src/components/ImportPage.vue @@ -7,6 +7,9 @@
Selected Subscriptions: {{ selectedSubscriptions }}
+
+ Override: +
{ + { + method: "POST", + headers: { + Authorization: this.getAuthToken(), + }, + body: JSON.stringify(this.subscriptions), + }, + ).then(json => { if (json.message === "ok") window.location = "/feed"; }); },