Change how ref is handled in VueRenderer

This commit is contained in:
Chris O'Sullivan
2021-05-05 09:44:07 -05:00
parent 739b2593d9
commit 5c5680d00e

View File

@@ -41,7 +41,7 @@ export class VueRenderer {
}
get ref(): any {
return this.editor.contentComponent?.ctx.$refs[this.id]
return this.editor.contentComponent?.refs[this.id]
}
updateProps(props: Record<string, any> = {}): void {