From 898f8ec0068dc6399d178d950bb20c4fa5b3843e Mon Sep 17 00:00:00 2001 From: Abbie Petchtes Date: Wed, 29 Aug 2018 12:27:10 -0700 Subject: [PATCH] fix editor uri in the editor model view (#2350) --- src/sql/parts/modelComponents/editor.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }