Last active
June 29, 2019 12:22
-
-
Save Gbuomprisco/7f521dc3f422b36477dfd87e70980c21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='mt-5'> | |
<crypto-selector (selected)="onCryptoSelected($event)"></crypto-selector> | |
<div class='price'> | |
{{ price$ | async }} | |
</div> | |
<ng-container *ngIf="(price$ | async) === undefined && (currency$ | async)"> | |
<div class='alert alert-info mt-2'> | |
Awaiting for Price... | |
</div> | |
</ng-container> | |
<ng-container *ngIf="!(currency$ | async)"> | |
<div class='alert alert-warning mt-2'> | |
No Crypto Subscribed Yet | |
</div> | |
</ng-container> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment