Added Kelly Madison profile scraper.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
<span
|
||||
v-if="actor.birthdate"
|
||||
class="birthdate"
|
||||
>{{ formatDate(actor.birthdate, 'MMMM D, YYYY') }}<span class="age">{{ age }}</span></span>
|
||||
>{{ formatDate(actor.birthdate, 'MMMM D, YYYY') }}<span class="age">{{ actor.age }}</span></span>
|
||||
</li>
|
||||
|
||||
<li
|
||||
@@ -239,18 +239,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { cmToFeetInches, kgToLbs } from '../../../src/utils/convert';
|
||||
|
||||
import Photos from './photos.vue';
|
||||
import FilterBar from '../header/filter-bar.vue';
|
||||
import Releases from '../releases/releases.vue';
|
||||
|
||||
function age() {
|
||||
return dayjs(new Date()).diff(this.actor.birthdate, 'years');
|
||||
}
|
||||
|
||||
async function fetchReleases() {
|
||||
this.releases = await this.$store.dispatch('fetchActorReleases', this.$route.params.actorSlug);
|
||||
}
|
||||
@@ -293,7 +287,6 @@ export default {
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
age,
|
||||
imperialHeight,
|
||||
imperialWeight,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user