Use label instead of id for graphViewer

This commit is contained in:
Eric Jizba 2017-11-27 16:06:34 -08:00
Родитель d2456cf343
Коммит 9f97c309be
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -62,11 +62,11 @@ export class GraphCollectionTreeItem implements IAzureTreeItem {
}
public async showExplorer(graphViewsManager: GraphViewsManager): Promise<void> {
await graphViewsManager.showGraphViewer(this.id, <GraphConfiguration>{
await graphViewsManager.showGraphViewer(this.label, <GraphConfiguration>{
endpoint: this._database.graphEndpoint,
endpointPort: this._database.graphPort,
databaseName: this._database.id,
graphName: this.id,
databaseName: this._database.label,
graphName: this.label,
key: this._database.masterKey
});
}