mirror of
https://github.com/bellingcat/auto-archiver-extension.git
synced 2026-06-07 19:18:33 +03:00
0.0.5
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user