mirror of https://github.com/Kylart/KawAnime.git
Corrected name display on releases page
This commit is contained in:
parent
0d689caa2e
commit
3b174dceec
|
@ -22,7 +22,7 @@ exports.getLatest = (url, res) => {
|
|||
{
|
||||
const realName = result[i].name
|
||||
const name = realName.split(' ').slice(1).join(' ')
|
||||
const rawName = realName.split(' ').slice(1, -2).join(' ')
|
||||
const rawName = name.split(' ').slice(0, -2).join(' ')
|
||||
const researchName = rawName.split(' ').join('').toLowerCase()
|
||||
const ep = name.split(' ').slice(-1)[0]
|
||||
const link = result[i].link
|
||||
|
@ -38,6 +38,7 @@ exports.getLatest = (url, res) => {
|
|||
|
||||
toReturn[i] = {
|
||||
name: name,
|
||||
rawName: rawName,
|
||||
researchName: researchName,
|
||||
ep: ep,
|
||||
magnetLink: link,
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<v-container fluid style="padding: 0;">
|
||||
<v-row>
|
||||
<v-col class="elem-title" xs9 v-tooltip:top="{ html: item.name }">
|
||||
<h6>{{ item.name }}</h6>
|
||||
<h6>{{ item.rawName }}</h6>
|
||||
</v-col>
|
||||
<v-col v-tooltip:top="{ html: 'Episode ' + item.ep }" class="elem-ep text-xs-right" xs3>
|
||||
<h6>Ep {{ item.ep }}</h6>
|
||||
|
|
Loading…
Reference in New Issue