mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-20 22:03:03 +08:00
Fix marving JS button initialization [SCI-9144]
This commit is contained in:
parent
953bd234f4
commit
eb44724ece
1 changed files with 9 additions and 0 deletions
|
@ -120,6 +120,15 @@
|
|||
uploadingAttachment,
|
||||
emptyAttachment
|
||||
},
|
||||
watch: {
|
||||
attachmentsReady() {
|
||||
if (this.attachmentsReady) {
|
||||
this.$nextTick(() => {
|
||||
this.initMarvinJS();
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
attachmentsOrdered() {
|
||||
return this.attachments.sort((a, b) => {
|
||||
|
|
Loading…
Reference in a new issue