Merge pull request #3737 from rommapp/posthog-code/hide-cover-art-attribution-link

fix(ui): remove cover-art attribution link on details pages
This commit is contained in:
Georges-Antoine Assi
2026-07-13 14:42:36 -04:00
committed by GitHub
2 changed files with 4 additions and 22 deletions

View File

@@ -364,16 +364,8 @@ function getFilterValues(path: string): string[] {
</span> </template
>.
</div>
<div v-if="rom.url_cover && coverImageSource" class="mt-1">
Cover art provided by
<a
:href="rom.url_cover"
target="_blank"
rel="noopener noreferrer"
style="color: inherit"
>
{{ coverImageSource }}</a
>.
<div v-if="coverImageSource" class="mt-1">
Cover art provided by {{ coverImageSource }}.
</div>
</v-col>
</v-row>

View File

@@ -338,19 +338,9 @@ const coverSource = computed(() => {
>
</template>
</i18n-t>
<i18n-t
v-if="coverSource && rom.url_cover"
keypath="rom.cover-art-provided-by"
tag="div"
>
<i18n-t v-if="coverSource" keypath="rom.cover-art-provided-by" tag="div">
<template #source>
<a
class="overview-tab__attribution-link"
:href="rom.url_cover"
target="_blank"
rel="noopener"
>{{ coverSource }}</a
>
<span>{{ coverSource }}</span>
</template>
</i18n-t>
</div>