This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
django-ex
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
fix bug with missing buttons
pull/172/head
Michael Olund
5 years ago
parent
9f838a4acb
commit
00e27c4baf
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
vue/src/components/Uploader/ItemTile.vue
+2
-2
vue/src/components/Uploader/Uploader.vue
+ 1
- 1
vue/src/components/Uploader/ItemTile.vue
View File
@ -22,7 +22,7 @@
class
=
"button-wrapper"
v
-
if
=
"file.error || file.type !== 'application/pdf'"
>
<
div
v-if
="
!file.active &&
file.success && !isPdf"
>
<
div
v-if
="file.success && !isPdf"
>
<
button
type
=
"button"
@
click
.
prevent
=
"$emit('moveup')"
+ 2
- 2
vue/src/components/Uploader/Uploader.vue
View File
@ -251,9 +251,8 @@
maxHeight
:
3300
,
convertSize
:
Infinity
,
success
(
result
)
{
console
.
log
(
result
)
;
self
.
$refs
.
upload
.
update
(
newFile
,
{
error
:
""
,
error
:
false
,
file
:
result
,
size
:
result
.
size
,
type
:
result
.
type
,
@ -261,6 +260,7 @@
}
)
;
}
,
error
(
err
)
{
console
.
log
(
err
)
;
self
.
$refs
.
upload
.
update
(
newFile
,
{
error
:
"compression failed"
,
}
)
;
Write
Preview
Loading…
Cancel
Save