diff --git a/src/sql/parts/modelComponents/editor.component.ts b/src/sql/parts/modelComponents/editor.component.ts index cd5b039e01..dbc0a9d102 100644 --- a/src/sql/parts/modelComponents/editor.component.ts +++ b/src/sql/parts/modelComponents/editor.component.ts @@ -162,10 +162,10 @@ export default class EditorComponent extends ComponentBase implements IComponent } public get uri(): string { - return this.getPropertyOrDefault((props) => props.uri, ''); + return this.getPropertyOrDefault((props) => props.editorUri, ''); } public set uri(newValue: string) { - this.setPropertyFromUI((properties, uri) => { properties.uri = uri; }, newValue); + this.setPropertyFromUI((properties, editorUri) => { properties.editorUri = editorUri; }, newValue); } }