mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 10:33:22 +01:00
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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user