fix: only reorganize items already in the Imported Furniture section
organizeCatalogAll no longer pulls every items_base row into the catalog. It now touches only items whose catalog entry lives on a page under the Imported Furniture parent (re-homing/re-pricing onto line/category sub-pages). Items are never newly added. Button renamed to 'Organiseer import'.
This commit is contained in:
1 parent
eb885c044f
commit
488f40919d
2 files changed
+41
-49
No files matched your search
@@ -881,14 +881,14 @@ export function StudioClient({
|
||||
className="gap-1.5"
|
||||
disabled={organizing || !!batchProgress}
|
||||
onClick={organizeAll}
|
||||
title="Alle meubels automatisch in catalogus-pagina's ordenen (pagina's worden aangemaakt indien nodig)"
|
||||
title="Alle meubels uit de Import-sectie automatisch ordenen in catalogus-pagina's (pagina's worden aangemaakt indien nodig)"
|
||||
>
|
||||
{organizing ? (
|
||||
<Loader2 size={14} className="animate-spin" />
|
||||
) : (
|
||||
<WandSparkles size={14} />
|
||||
)}
|
||||
Organiseer alles
|
||||
Organiseer import
|
||||
</Button>
|
||||
|
||||
{selectedNonImported > 0 && (
|
||||
|
||||
Reference in new issue
Block a user