forked from DebaucheryLibrarian/traxxx
Using ageFromBirth for age on scene date. Using infinite depth and colors for inspect.
This commit is contained in:
parent
bfbd2ddc00
commit
6f19a8a642
|
@ -83,7 +83,7 @@
|
||||||
>{{ actor.age }}</span>
|
>{{ actor.age }}</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
v-if="actor.ageThen && actor.ageThen < actor.age"
|
v-if="actor.ageThen && actor.ageThen < actor.ageFromBirth"
|
||||||
v-tooltip="`${actor.ageThen} years old on release date`"
|
v-tooltip="`${actor.ageThen} years old on release date`"
|
||||||
class="age-then"
|
class="age-then"
|
||||||
>{{ actor.ageThen }}</span>
|
>{{ actor.ageThen }}</span>
|
||||||
|
|
|
@ -67,8 +67,8 @@ async function init() {
|
||||||
const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes;
|
const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes;
|
||||||
|
|
||||||
if (argv.inspect) {
|
if (argv.inspect) {
|
||||||
console.log(util.inspect(deepScenes));
|
console.log(util.inspect(deepScenes, { depth: Infinity, colors: true }));
|
||||||
console.log(util.inspect(deepMovies));
|
console.log(util.inspect(deepMovies, { depth: Infinity, colors: true }));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argv.save) {
|
if (argv.save) {
|
||||||
|
|
Loading…
Reference in New Issue