mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Remove correlation iframe (#83)
Co-authored-by: Steve Faulkner <stfaul@microsoft.com>
This commit is contained in:
10
src/Index.ts
10
src/Index.ts
@@ -2,22 +2,12 @@ import "../less/index.less";
|
||||
import "./Libs/jquery";
|
||||
|
||||
import * as ko from "knockout";
|
||||
import { CorrelationBackend } from "./Common/Constants";
|
||||
import Ajax from "./Shared/Ajax";
|
||||
|
||||
class Index {
|
||||
public navigationSelection: ko.Observable<string>;
|
||||
public correlationSrc: ko.Observable<string>;
|
||||
|
||||
constructor() {
|
||||
this.navigationSelection = ko.observable("quickstart");
|
||||
this.correlationSrc = ko.observable("");
|
||||
|
||||
Ajax.get("/_explorer/installation_id.txt").then(result => {
|
||||
// TODO: Detect correct URL for each environment automatically.
|
||||
const url: string = `${CorrelationBackend.Url}?emulator_id=${result}`;
|
||||
this.correlationSrc(url);
|
||||
});
|
||||
}
|
||||
|
||||
public quickstart_click() {
|
||||
|
||||
Reference in New Issue
Block a user