Kategorien-Anteile: einstellbare Kategorie-Tiefe (Unterkategorien zusammenfassen)
/dashboard/by-category bekommt depth: rollt jede Artikel-Kategorie auf ihren Vorfahren der gewuenschten Stufe hoch (1 = oberste Ebene), ohne depth zaehlt jede zugeordnete Kategorie einzeln (feinste). Neue Karten-Konfig select Kategorie-Tiefe (Feinste / oberste / bis 2. / bis 3. Stufe). KartenConfig zeigt jetzt auch bei select den Hinweis. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -229,7 +229,7 @@ export const api = {
|
||||
request(`/dashboard/layout/enforced?value=${value ? "true" : "false"}`, { method: "PUT" }),
|
||||
dashboardStats: () => request("/dashboard/stats"),
|
||||
dashboardExpirySplit: () => request("/dashboard/expiry-split"),
|
||||
dashboardByCategory: () => request("/dashboard/by-category"),
|
||||
dashboardByCategory: (depth) => request(`/dashboard/by-category${depth ? `?depth=${depth}` : ""}`),
|
||||
dashboardTimeline: (days, productId) =>
|
||||
request(`/dashboard/timeline?days=${days}${productId ? `&product_id=${productId}` : ""}`),
|
||||
dashboardActivity: (days) => request(`/dashboard/activity?days=${days}`),
|
||||
|
||||
Reference in New Issue
Block a user