Remove deleted articles from the category list cache.

After DELETE, the category view kept showing the article until a full reload because Redux still held it.
This commit is contained in:
seb
2026-08-01 03:49:41 +02:00
parent bfb2ff428d
commit 6141e71e2f
3 changed files with 15 additions and 2 deletions

View File

@@ -179,6 +179,7 @@ export const article = {
/**
* DELETE /api/article/:sku → 204
* Errors: 400 Article has children, 401, 403, 404 Article not found
*/
delete(sku) {
return http(`/api/article/${encodeURIComponent(sku)}`, {