Fix openCamera, openCropped, lightbox model, and image model usages (#1908)
This commit is contained in:
parent
7d5e01f433
commit
ab1ce078ec
7 changed files with 11 additions and 34 deletions
|
@ -120,9 +120,7 @@ export function useExternalLinkFetch({
|
|||
setExtLink({
|
||||
...extLink,
|
||||
isLoading: false, // done
|
||||
localThumb: localThumb
|
||||
? new ImageModel(store, localThumb)
|
||||
: undefined,
|
||||
localThumb: localThumb ? new ImageModel(localThumb) : undefined,
|
||||
})
|
||||
})
|
||||
return cleanup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue