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

@@ -69,7 +69,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>
@@ -99,7 +99,7 @@
<script setup>
import moment from 'moment'
import Message from '~/components/Message.vue'
import {notification} from "~/utils/index.js";
import {formatDuration, notification} from "~/utils/index.js";
const backend = useRoute().params.backend
const historyUrl = `/history/?via=${backend}`