From 9f57c6ca69449e2d03225736f355e2d0d920e199 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Mon, 27 Feb 2023 10:05:26 +0100 Subject: [PATCH] 0.0.5 --- source/manifest.json | 2 +- source/vue/Popup.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/manifest.json b/source/manifest.json index bd14f70..9ca2b16 100644 --- a/source/manifest.json +++ b/source/manifest.json @@ -1,6 +1,6 @@ { "name": "Auto-archiver extension", - "version": "0.0.4", + "version": "0.0.5", "description": "A gateway to effective archiving of online content, including behind private platforms. ", "homepage_url": "https://github.com/bellingcat/auto-archiver-extension", "manifest_version": 3, diff --git a/source/vue/Popup.vue b/source/vue/Popup.vue index d1156bd..67fe0ac 100644 --- a/source/vue/Popup.vue +++ b/source/vue/Popup.vue @@ -158,14 +158,14 @@ export default { return; } (async () => { - this.isSearchingOnline = true; { + this.isSearchingOnline = true; + try { const onlineTasks = await this.callBackground({ action: "search", query: this.search }); if (!onlineTasks) return; - console.log(onlineTasks) - console.log(this.tasks) this.onlineTasks = (onlineTasks || []).filter(task => !Object.keys(this.tasks).includes(task.id)) + } finally { + this.isSearchingOnline = false; } - this.isSearchingOnline = false; })(); }, callBackground: async function (parameters) {