mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
fix(webui): series name not showing on card if it starts with '<'
Closes: #930
This commit is contained in:
parent
c55d720c13
commit
599b605d92
1 changed files with 6 additions and 5 deletions
|
|
@ -102,13 +102,14 @@
|
||||||
|
|
||||||
<!-- Description-->
|
<!-- Description-->
|
||||||
<template v-if="!thumbnailOnly">
|
<template v-if="!thumbnailOnly">
|
||||||
<router-link v-if="!Array.isArray(title)" :to="title.to" class="link-underline" @click.native="$event.stopImmediatePropagation()">
|
<router-link v-if="!Array.isArray(title)" :to="title.to" class="link-underline"
|
||||||
|
@click.native="$event.stopImmediatePropagation()">
|
||||||
<v-card-subtitle
|
<v-card-subtitle
|
||||||
v-line-clamp="2"
|
v-line-clamp="2"
|
||||||
v-bind="subtitleProps"
|
v-bind="subtitleProps"
|
||||||
v-html="title.title"
|
|
||||||
:title="title.title"
|
:title="title.title"
|
||||||
/>
|
>{{ title.title }}
|
||||||
|
</v-card-subtitle>
|
||||||
</router-link>
|
</router-link>
|
||||||
<template v-if="Array.isArray(title)">
|
<template v-if="Array.isArray(title)">
|
||||||
<v-card-subtitle
|
<v-card-subtitle
|
||||||
|
|
@ -120,11 +121,11 @@
|
||||||
:to="t.to"
|
:to="t.to"
|
||||||
@click.native="$event.stopImmediatePropagation()"
|
@click.native="$event.stopImmediatePropagation()"
|
||||||
class="link-underline text-truncate"
|
class="link-underline text-truncate"
|
||||||
v-html="t.title"
|
|
||||||
:title="t.title"
|
:title="t.title"
|
||||||
style="display: block"
|
style="display: block"
|
||||||
:class="i !== 0 ? 'font-weight-light' : ''"
|
:class="i !== 0 ? 'font-weight-light' : ''"
|
||||||
/>
|
>{{ t.title }}
|
||||||
|
</router-link>
|
||||||
</v-card-subtitle>
|
</v-card-subtitle>
|
||||||
</template>
|
</template>
|
||||||
<v-card-text class="px-2 font-weight-light" v-html="body">
|
<v-card-text class="px-2 font-weight-light" v-html="body">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue