mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 07:17:00 -04:00
Dont reload the list when cancelling the remove dialog
This commit is contained in:
@@ -542,10 +542,12 @@ export class MyAddonsComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||
} else {
|
||||
return this.getRemoveDependenciesPrompt(addon.name, addon.dependencies.length)
|
||||
.afterClosed()
|
||||
.pipe(switchMap((result) => from(this.addonService.removeAddon(addon, result))));
|
||||
.pipe(
|
||||
switchMap((result) => from(this.addonService.removeAddon(addon, result))),
|
||||
switchMap(() => from(this.loadAddons(this.selectedInstallation)))
|
||||
);
|
||||
}
|
||||
}),
|
||||
switchMap(() => from(this.loadAddons(this.selectedInstallation)))
|
||||
})
|
||||
)
|
||||
.subscribe();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user