mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Minor changes in recording panel view
parent
5754dcfd8f
commit
e65a6b7afe
|
@ -65,7 +65,8 @@
|
||||||
|
|
||||||
<span *ngIf="recordingStatus === recStatusEnum.STARTING">{{ 'PANEL.RECORDING.STARTING' | translate }} </span>
|
<span *ngIf="recordingStatus === recStatusEnum.STARTING">{{ 'PANEL.RECORDING.STARTING' | translate }} </span>
|
||||||
<span *ngIf="recordingStatus === recStatusEnum.STOPPING">{{ 'PANEL.RECORDING.STOPPING' | translate }} </span>
|
<span *ngIf="recordingStatus === recStatusEnum.STOPPING">{{ 'PANEL.RECORDING.STOPPING' | translate }} </span>
|
||||||
<span *ngIf="recordingStatus === recStatusEnum.FAILED" class="recording-error">Message: {{ recordingError | json }} </span>
|
<span *ngIf="recordingStatus === recStatusEnum.FAILED">Message: </span>
|
||||||
|
<span *ngIf="recordingStatus === recStatusEnum.FAILED" class="recording-error">{{ recordingError | json }} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Message for no Moderators-->
|
<!-- Message for no Moderators-->
|
||||||
|
|
|
@ -193,11 +193,9 @@ export class RecordingActivityComponent implements OnInit {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.recordingErrorSub = this.libService.recordingErrorObs.subscribe((error: any) => {
|
this.recordingErrorSub = this.libService.recordingErrorObs.subscribe((error: any) => {
|
||||||
console.log(error);
|
|
||||||
if (error) {
|
if (error) {
|
||||||
this.recordingService.updateStatus(RecordingStatus.FAILED);
|
this.recordingService.updateStatus(RecordingStatus.FAILED);
|
||||||
this.recordingError = error.error?.message || error.message || error;
|
this.recordingError = error.error?.message || error.message || error;
|
||||||
console.log('REC ERROR', this.recordingError)
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
<ng-container *ngIf="isActivitiesPanelOpened">
|
<ng-container *ngIf="isActivitiesPanelOpened">
|
||||||
<ng-container *ngTemplateOutlet="activitiesPanelTemplate"></ng-container>
|
<ng-container *ngTemplateOutlet="activitiesPanelTemplate"></ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- <ov-activities-panel *ngIf="isActivitiesPanelOpened"></ov-activities-panel> -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- External additional panels -->
|
<!-- External additional panels -->
|
||||||
<ng-container *ngIf="additionalPanelsTemplate && isExternalPanelOpened">
|
<ng-container *ngIf="additionalPanelsTemplate && isExternalPanelOpened">
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<p>admin-dashboard works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { AdminDashboardComponent } from './admin-dashboard.component';
|
||||||
|
|
||||||
|
describe('AdminDashboardComponent', () => {
|
||||||
|
let component: AdminDashboardComponent;
|
||||||
|
let fixture: ComponentFixture<AdminDashboardComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ AdminDashboardComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
});
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(AdminDashboardComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-dashboard',
|
||||||
|
templateUrl: './admin-dashboard.component.html',
|
||||||
|
styleUrls: ['./admin-dashboard.component.scss']
|
||||||
|
})
|
||||||
|
export class AdminDashboardComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue