Skip to content

Commit

Permalink
Updating emulators page (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
hvarg authored Aug 17, 2020
1 parent 5a46515 commit fdf6971
Show file tree
Hide file tree
Showing 2 changed files with 339 additions and 60 deletions.
13 changes: 6 additions & 7 deletions src/screens/datasets/datasets-browse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ export class DatasetsBrowse extends connect(store)(PageViewElement) {
}

protected render() {
return html`
<iframe class="datacatalog" src="https://data-catalog.mint.isi.edu"></iframe>
<!--div class="content">
<datasets-search class="page" ?active="{!this._dsid}"></datasets-search>
<dataset-detail class="page" ?active="{this._dsid}"></dataset-detail>
</div-->
`
if (this._dsid) return html`
<div class="content">
<dataset-detail class="page" ?active="${this._dsid}"></dataset-detail>
</div>`;
else return html`
<iframe class="datacatalog" src="https://data-catalog.mint.isi.edu"></iframe>`;
}

stateChanged(state: RootState) {
Expand Down
Loading

0 comments on commit fdf6971

Please sign in to comment.