fix(ui): remove cover-art attribution link on details pages

The "Cover art provided by X" line linked to rom.url_cover, which for
ScreenScraper contains a media download URL with embedded credentials.
Render the source name as plain text so credentials are not exposed in
the UI, while the URL stays stored in the database unchanged.

Fixes #3612

Generated-By: PostHog Code
Task-Id: 038e1de3-16ac-4f2b-8ae0-b4dade2f8ef9
This commit is contained in:
Georges-Antoine Assi
2026-07-13 12:59:02 -04:00
parent 167f08fbde
commit 7caa3f1297
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>