Skip to content

Commit

Permalink
Merge pull request #313 from Cryptorubic/hotfix/table-in-iframe
Browse files Browse the repository at this point in the history
Instant trades table removed from iframe
  • Loading branch information
siandreev authored May 21, 2021
2 parents 9298f71 + 8d9380a commit c280c6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

<app-volume-block></app-volume-block>

<app-instant-trades-table></app-instant-trades-table>
<app-instant-trades-table *ngIf="($isIframe | async) === false"></app-instant-trades-table>
</div>
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import { Component } from '@angular/core';
import { QueryParamsService } from '../../../../../core/services/query-params/query-params.service';

@Component({
selector: 'app-instant-trades',
templateUrl: './instant-trades.component.html',
styleUrls: ['./instant-trades.component.scss']
})
export class InstantTradesComponent {
constructor() {}
public readonly $isIframe;

constructor(queryParamsService: QueryParamsService) {
this.$isIframe = queryParamsService.$isIframe;
}
}

0 comments on commit c280c6f

Please sign in to comment.