Actually store the last-type

This commit is contained in:
Nils Maier 2019-08-25 20:47:34 +02:00
parent a9df98c2f6
commit 26cd8e8a00

View File

@ -110,6 +110,9 @@ export const API = new class {
await FASTFILTER.init();
await FASTFILTER.push(selected.fast);
}
if (typeof selected.type === "string") {
await Prefs.set("last-type", selected.type);
}
const {items} = selected;
delete selected.items;
return await this.queue(items, selected);