fix(ui): auto image selection on invocation complete, board change

This commit is contained in:
psychedelicious
2025-06-26 17:50:35 +10:00
parent df6e67c982
commit 175c0147f8
9 changed files with 72 additions and 60 deletions

View File

@@ -609,7 +609,7 @@ export const imageDTOToFile = async (imageDTO: ImageDTO): Promise<File> => {
};
export const useImageDTO = (imageName: string | null | undefined) => {
const { data: imageDTO } = useGetImageDTOQuery(imageName ?? skipToken);
const { currentData: imageDTO } = useGetImageDTOQuery(imageName ?? skipToken);
return imageDTO ?? null;
};