Created
          April 24, 2019 19:23 
        
      - 
      
- 
        Save bariscanyilmaz/7edc9c8c34e1f817e0c00c5b3d7d8faf to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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="container"> | |
| <div class="category-list"> | |
| <mat-button-toggle-group #categoryGroup="matButtonToggleGroup"> | |
| <mat-button-toggle [value]="category.Name" *ngFor="let category of categories"> | |
| {{category.Name}} | |
| </mat-button-toggle> | |
| </mat-button-toggle-group> | |
| </div> | |
| <button mat-fab color="warn" [disabled]="!categoryGroup.value" (click)="getBook(categoryGroup.value)">Get</button> | |
| <div class="actions"> | |
| <button mat-flat-button color="primary" (click)="openAddBook()" class="btn-add-book">Add Book</button> | |
| <button mat-flat-button color="primary" (click)="openAddCategory()" class="btn-add-category">Add Category</button> | |
| </div> | |
| </div> | |
| <swal #swalInformation title=" " text="No books were found in the category you selected." type="info"></swal> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment