Skip to content

Commit

Permalink
Do not load image if it already exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Jan 26, 2025
1 parent 5c2f844 commit bbd4ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/image.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default defineComponent({
warn(`${props.id} image: missing prop url or image`);
return () => [];
}
if (map!.value!.hasImage(props.id)) return;
(async () => {
let image = props.image;
if (props.url) {
Expand Down

0 comments on commit bbd4ba9

Please sign in to comment.