Compare commits
2 Commits
d605eb788c
...
b1f935dc3b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1f935dc3b | ||
|
|
c48f9f4ffc |
@ -123,8 +123,10 @@ class SystemStoragePage {
|
|||||||
if (!window.tasksManager?.router?.routeAction) {
|
if (!window.tasksManager?.router?.routeAction) {
|
||||||
throw new Error('Task system not ready');
|
throw new Error('Task system not ready');
|
||||||
}
|
}
|
||||||
|
// routeAction → executeTask already shows the rich "Reclaim
|
||||||
|
// Space task started!" toast (and a completion toast lands when
|
||||||
|
// it finishes), so no extra info notification here.
|
||||||
await window.tasksManager.router.routeAction('system_reclaim');
|
await window.tasksManager.router.routeAction('system_reclaim');
|
||||||
window.notificationSystem?.show?.('Reclaiming space…', 'info');
|
|
||||||
// The prune runs in the background task processor; re-read
|
// The prune runs in the background task processor; re-read
|
||||||
// usage a couple of times so the numbers settle without a
|
// usage a couple of times so the numbers settle without a
|
||||||
// manual refresh.
|
// manual refresh.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user