feat(ui): update UI to not use image_origin

see commit `8ad8de8: feat(nodes): remove `image_origin` from most places` for details.
This commit is contained in:
psychedelicious
2023-06-14 21:53:21 +10:00
parent 24b86cffe9
commit 88e8e3977b
17 changed files with 16 additions and 46 deletions

View File

@ -271,8 +271,7 @@ export const controlNetSlice = createSlice({
});
builder.addCase(imageUrlsReceived.fulfilled, (state, action) => {
const { image_name, image_origin, image_url, thumbnail_url } =
action.payload;
const { image_name, image_url, thumbnail_url } = action.payload;
forEach(state.controlNets, (c) => {
if (c.controlImage?.image_name === image_name) {