Fix marving JS button initialization [SCI-9144]

This commit is contained in:
Anton 2023-08-28 15:47:35 +02:00
parent 953bd234f4
commit eb44724ece

View file

@ -120,6 +120,15 @@
uploadingAttachment,
emptyAttachment
},
watch: {
attachmentsReady() {
if (this.attachmentsReady) {
this.$nextTick(() => {
this.initMarvinJS();
})
}
}
},
computed: {
attachmentsOrdered() {
return this.attachments.sort((a, b) => {