Fix metadata construction

vue3-2
Varun Patil 2022-12-10 11:24:41 -08:00
parent c562a75e35
commit aaae75642b
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export default defineComponent({
if (this.metadataComponent) {
this.metadataComponent.$destroy();
}
this.metadataComponent = new Metadata();
this.metadataComponent = new Vue(Metadata as any);
// Only mount after we have all the info we need
await this.metadataComponent.update(fileInfo);
this.metadataComponent.$mount(el);