|
|
|
@ -112,7 +112,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="sticky bottom-0 py-2"
|
|
|
|
class="sticky bottom-0 py-2"
|
|
|
|
:style="withStickySubmitters ? { backgroundColor } : {}"
|
|
|
|
:style="{ backgroundColor }"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<Upload
|
|
|
|
<Upload
|
|
|
|
v-if="sortedDocuments.length && editable && withUploadButton"
|
|
|
|
v-if="sortedDocuments.length && editable && withUploadButton"
|
|
|
|
@ -884,7 +884,7 @@ export default {
|
|
|
|
this.save()
|
|
|
|
this.save()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onDocumentRemove (item) {
|
|
|
|
onDocumentRemove (item) {
|
|
|
|
if (window.confirm('Are you sure?')) {
|
|
|
|
if (window.confirm(this.t('are_you_sure'))) {
|
|
|
|
this.template.schema.splice(this.template.schema.indexOf(item), 1)
|
|
|
|
this.template.schema.splice(this.template.schema.indexOf(item), 1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|