Show "Jetzt entpacken" context menu when any item is completed, re-enable paused packages
Build and Release / build (push) Has been cancelled
Build and Release / build (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
fa30e738d9
commit
19a588a997
@@ -3069,6 +3069,9 @@ export class DownloadManager extends EventEmitter {
|
||||
const pkg = this.session.packages[packageId];
|
||||
if (!pkg || pkg.cancelled) return;
|
||||
if (this.packagePostProcessTasks.has(packageId)) return;
|
||||
if (!pkg.enabled) {
|
||||
pkg.enabled = true;
|
||||
}
|
||||
const items = pkg.itemIds.map((id) => this.session.items[id]).filter(Boolean) as DownloadItem[];
|
||||
const completedItems = items.filter((item) => item.status === "completed");
|
||||
if (completedItems.length === 0) return;
|
||||
|
||||
Reference in New Issue
Block a user