Fixed #73: broken file upload

This commit is contained in:
Eliot Berriot 2018-02-26 18:27:41 +01:00
commit 8c7e943013
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 32 additions and 3 deletions

View file

@ -29,7 +29,7 @@
</button>
</div>
<div class="ui hidden divider"></div>
<p>
<p v-if="batch">
Once all your files are uploaded, simply head over <router-link :to="{name: 'library.import.batches.detail', params: {id: batch.id }}">import detail page</router-link> to check the import status.
</p>
<table class="ui single line table">
@ -73,7 +73,7 @@ export default {
data () {
return {
files: [],
uploadUrl: 'import-jobs/',
uploadUrl: '/api/v1/import-jobs/',
batch: null
}
},