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">
|
<span class="poster">
|
||||||
<a
|
<a
|
||||||
:href="`/scene/${release.id}/${release.slug}`"
|
:href="`/scene/${release.id}/${release.slug || ''}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="link"
|
class="link"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<a
|
<a
|
||||||
:href="`/scene/${release.id}/${release.slug}`"
|
:href="`/scene/${release.id}/${release.slug || ''}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="row link"
|
class="row link"
|
||||||
|
|
|
@ -15,8 +15,6 @@ function scrapeLatest(scenes, dates, site) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(dates, dates[index], path);
|
|
||||||
|
|
||||||
if (dates && dates[index]) {
|
if (dates && dates[index]) {
|
||||||
release.date = dates[index].qu.date(null, 'MM/DD/YYYY');
|
release.date = dates[index].qu.date(null, 'MM/DD/YYYY');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue