feat(catalog): repair missing furniture components with verified status
This commit is contained in:
1 parent
3c24df9b1d
commit
570f3dde44
13 files changed
+438
-164
No files matched your search
@@ -46,7 +46,12 @@ export function useFurnitureJobs(onComplete: () => void) {
|
||||
}, [refresh]);
|
||||
const submit = async (
|
||||
items: ImportJobItem[],
|
||||
options: { sourceId?: string; translate: boolean; langs?: string[] },
|
||||
options: {
|
||||
sourceId?: string;
|
||||
translate: boolean;
|
||||
langs?: string[];
|
||||
mode?: "repair";
|
||||
},
|
||||
) => {
|
||||
if (submitting.current) return false;
|
||||
submitting.current = true;
|
||||
@@ -144,6 +149,7 @@ export function FurnitureJobHistory({
|
||||
onClick={() =>
|
||||
void state.submit(failed, {
|
||||
sourceId: job.sourceId,
|
||||
mode: job.mode,
|
||||
translate: job.translate,
|
||||
langs: job.langs,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user