mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-06 23:01:46 +08:00
feat(processors): add processor management
This commit is contained in:
@@ -49,8 +49,8 @@ export function useProcessor({ path, processorTypes, refresh }: ProcessorParams)
|
||||
overwrite: overwrite ? true : undefined,
|
||||
};
|
||||
|
||||
await processorsApi.process(params);
|
||||
message.success(t('Processing finished'));
|
||||
const resp = await processorsApi.process(params);
|
||||
message.success(`${t('Task submitted')}: ${resp.task_id}`);
|
||||
setModal({ entry: null, visible: false });
|
||||
if (overwrite || savingPath) refresh();
|
||||
} catch (e: any) {
|
||||
|
||||
Reference in New Issue
Block a user