Skip to content

Commit

Permalink
fix(entities-plugins): prevent infinite updates for dev (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Sep 23, 2024
1 parent 850e95b commit 013e2a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const iconSrc = computed(() => getPluginIconURL(props.name))
const onError = () => {
const defaultIcon = new URL('../assets/images/plugin-icons/missing.png', import.meta.url).href // only need to compute it when icon URL is invalid
if (img.value) {
if (img.value && img.value.src !== defaultIcon) {
img.value.src = defaultIcon
}
}
Expand Down

0 comments on commit 013e2a1

Please sign in to comment.