Compare commits

..

No commits in common. "5ba2c0ebd3d6815a06a0cea452ad2e9b37f412ab" and "b6022a3e901ab9ee23073b75a58e2e70367a1fb0" have entirely different histories.

4 changed files with 4 additions and 30 deletions

View File

@ -3,17 +3,7 @@
<div class="content-inner">
<h1 class="heading">Stats</h1>
<dl class="stat-table">
<div class="stat-row">
<dt class="stat-label">Version</dt>
<dd class="stat-value">{{ version }}</dd>
</div>
<div class="stat-row">
<dt class="stat-label">Content updated</dt>
<dd class="stat-value">{{ formatDate(lastScrape, 'YYYY-MM-DD HH:mm') }}</dd>
</div>
</dl>
<span class="version">traxxx {{ version }}</span>
<dl class="stat-table">
<div class="stat-row">
@ -56,7 +46,6 @@ async function mounted() {
this.totalActors = stats.totalActors;
this.totalNetworks = stats.totalNetworks;
this.totalChannels = stats.totalChannels;
this.lastScrape = stats.lastScrape;
this.version = VERSION; // eslint-disable-line no-undef
}
@ -86,10 +75,6 @@ export default {
padding: 1rem;
}
.stat-table {
margin: 0 0 1rem 0;
}
.stat-row {
width: 20rem;
max-width: 100%;

View File

@ -167,17 +167,7 @@ function initUiActions(_store, _router) {
channels,
} = await graphql(`
query Stats {
scenes: releasesConnection(
last: 1,
orderBy: BATCH_BY_CREATED_BATCH_ID__CREATED_AT_ASC
) {
totalCount
scenes: nodes {
batch: createdBatch {
createdAt
}
}
}
scenes: releasesConnection { totalCount }
movies: moviesConnection { totalCount }
actors: actorsConnection { totalCount }
networks: entitiesConnection(filter: { type: { equalTo: "network" } }) { totalCount }
@ -191,7 +181,6 @@ function initUiActions(_store, _router) {
totalActors: actors.totalCount,
totalNetworks: networks.totalCount,
totalChannels: channels.totalCount,
lastScrape: new Date(scenes.scenes[0]?.batch.createdAt),
};
}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.169.0",
"version": "1.168.10",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.169.0",
"version": "1.168.10",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {