Fixed progress showing as int instead of human-readable in index and backend view. Added Download entire logfile button.

This commit is contained in:
abdulmohsen
2024-05-13 13:06:19 +03:00
parent d3999541c6
commit 686d6bb82f
5 changed files with 55 additions and 3 deletions

View File

@@ -52,7 +52,7 @@
<span class="has-text-success" v-if="history.watched">Played</span>
<span class="has-text-danger" v-else>Unplayed</span>
</div>
<div class="card-footer-item">{{ history.progress }}</div>
<div class="card-footer-item">{{ formatDuration(history.progress) }}</div>
</div>
</div>
</div>
@@ -93,6 +93,7 @@
import request from '~/utils/request.js'
import moment from 'moment'
import Message from '~/components/Message.vue'
import {formatDuration} from "../utils/index.js";
useHead({title: 'Index'})