Verified Commit 3de9ae69 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Display progress during file upload

parent a28f4ca5
Display progress during file upload
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
</span> </span>
<span v-else-if="file.active" class="ui yellow label"> <span v-else-if="file.active" class="ui yellow label">
<translate key="2">Uploading…</translate> <translate key="2">Uploading…</translate>
({{ parseInt(file.progress) }}%)
</span> </span>
<template v-else> <template v-else>
<span class="ui label"><translate key="3">Pending</translate></span> <span class="ui label"><translate key="3">Pending</translate></span>
...@@ -145,7 +146,7 @@ export default { ...@@ -145,7 +146,7 @@ export default {
files: [], files: [],
needsRefresh: false, needsRefresh: false,
currentTab: "summary", currentTab: "summary",
uploadUrl: "/api/v1/uploads/", uploadUrl: this.$store.getters['instance/absoluteUrl']("/api/v1/uploads/"),
importReference, importReference,
supportedExtensions: ["flac", "ogg", "mp3", "opus"], supportedExtensions: ["flac", "ogg", "mp3", "opus"],
uploads: { uploads: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment