fix refactor dropzone
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<label
|
||||
:for="inputId"
|
||||
class="btn btn-neutral btn-xs text-white transition-none replace-document-button"
|
||||
:class="{ 'opacity-100': isLoading || isProcessing }"
|
||||
:class="{ 'opacity-100': isLoading }"
|
||||
>
|
||||
{{ message }}
|
||||
<form
|
||||
@@ -41,8 +41,7 @@ export default {
|
||||
emits: ['success'],
|
||||
data () {
|
||||
return {
|
||||
isLoading: false,
|
||||
isProcessing: false
|
||||
isLoading: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -52,8 +51,6 @@ export default {
|
||||
message () {
|
||||
if (this.isLoading) {
|
||||
return this.t('uploading_')
|
||||
} else if (this.isProcessing) {
|
||||
return this.t('processing_')
|
||||
} else {
|
||||
return this.t('replace')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user