<app-show-debug></app-show-debug>

<button
    *ngIf="viewType === ViewType.Onlineboard"
    (click)="redirectBoard()"
    class="search-button color blue-light details-back"
    icon="pi pi-arrow-left"
    iconPos="left"
    pButton
    type="button"
    label="{{ 'SHARED.BACK-BOARD' | translate }}"
></button>

<button
    *ngIf="viewType === ViewType.Schedule"
    (click)="redirectSchedule()"
    class="search-button color blue-light details-back"
    icon="pi pi-arrow-left"
    iconPos="left"
    pButton
    type="button"
    label="{{ 'SHARED.BACK-SCHEDULE' | translate }}"
></button>
