mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-21 22:33:13 +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,
|
uploadingAttachment,
|
||||||
emptyAttachment
|
emptyAttachment
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
attachmentsReady() {
|
||||||
|
if (this.attachmentsReady) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.initMarvinJS();
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
attachmentsOrdered() {
|
attachmentsOrdered() {
|
||||||
return this.attachments.sort((a, b) => {
|
return this.attachments.sort((a, b) => {
|
||||||
|
|
Loading…
Reference in a new issue