mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Loading default workflows sometimes requires we mutate the workflow object in order to change the category or ID of the workflow. This happens in `invokeai/frontend/web/src/features/nodes/util/workflow/validateWorkflow.ts` The data we get back from the query hooks is frozen and sealed by redux, because they are part of redux state. We need to clone the workflow before operating on it. It's not clear how this ever worked in the past, because redux state has always been frozen and sealed. |
||
---|---|---|
.. | ||
app | ||
assets | ||
backend | ||
configs | ||
frontend | ||
invocation_api | ||
version | ||
__init__.py |