Fix metadata construction
parent
c562a75e35
commit
aaae75642b
|
@ -178,7 +178,7 @@ export default defineComponent({
|
||||||
if (this.metadataComponent) {
|
if (this.metadataComponent) {
|
||||||
this.metadataComponent.$destroy();
|
this.metadataComponent.$destroy();
|
||||||
}
|
}
|
||||||
this.metadataComponent = new Metadata();
|
this.metadataComponent = new Vue(Metadata as any);
|
||||||
// Only mount after we have all the info we need
|
// Only mount after we have all the info we need
|
||||||
await this.metadataComponent.update(fileInfo);
|
await this.metadataComponent.update(fileInfo);
|
||||||
this.metadataComponent.$mount(el);
|
this.metadataComponent.$mount(el);
|
||||||
|
|
Loading…
Reference in New Issue