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 @@
<span v-else-if="" class="ui yellow label">
<translate key="2">Uploading…</translate>
({{ parseInt(file.progress) }}%)
<template v-else>
<span class="ui label"><translate key="3">Pending</translate></span>
......@@ -145,7 +146,7 @@ export default {
files: [],
needsRefresh: false,
currentTab: "summary",
uploadUrl: "/api/v1/uploads/",
uploadUrl: this.$store.getters['instance/absoluteUrl']("/api/v1/uploads/"),
supportedExtensions: ["flac", "ogg", "mp3", "opus"],
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