forked from DebaucheryLibrarian/traxxx
Removed 'null' from scene tile URL if no slug is available.
This commit is contained in:
parent
7974be05e9
commit
3855d96135
|
@ -6,7 +6,7 @@
|
|||
>
|
||||
<span class="poster">
|
||||
<a
|
||||
:href="`/scene/${release.id}/${release.slug}`"
|
||||
:href="`/scene/${release.id}/${release.slug || ''}`"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="link"
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
<div class="info">
|
||||
<a
|
||||
:href="`/scene/${release.id}/${release.slug}`"
|
||||
:href="`/scene/${release.id}/${release.slug || ''}`"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="row link"
|
||||
|
|
|
@ -15,8 +15,6 @@ function scrapeLatest(scenes, dates, site) {
|
|||
}
|
||||
}
|
||||
|
||||
console.log(dates, dates[index], path);
|
||||
|
||||
if (dates && dates[index]) {
|
||||
release.date = dates[index].qu.date(null, 'MM/DD/YYYY');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue