mirror of https://github.com/OpenVidu/openvidu.git
ov-components: Enhance recording activity component: update view recordings button visibility based on recording status and improve toolbar button text for active recording state
parent
fe3f90d266
commit
fce026766b
|
@ -152,7 +152,7 @@
|
|||
}
|
||||
|
||||
<!-- View all recordings button -->
|
||||
@if (showViewRecordingsButton) {
|
||||
@if (showViewRecordingsButton && recordingStatus !== recStatusEnum.FAILED) {
|
||||
<div class="item recording-action-buttons">
|
||||
<button
|
||||
mat-flat-button
|
||||
|
|
|
@ -500,6 +500,7 @@
|
|||
width: 100%;
|
||||
background-color: var(--ov-accent-action-color);
|
||||
color: var(--ov-secondary-action-color);
|
||||
border-radius: var(--ov-surface-radius);
|
||||
margin-bottom: 10px;
|
||||
|
||||
mat-icon {
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
{{ 'TOOLBAR.START_RECORDING' | translate }}
|
||||
</span>
|
||||
} @else if (recordingStatus === _recordingStatus.STARTED || recordingStatus === _recordingStatus.STARTING) {
|
||||
<span>{{ 'TOOLBAR.RECORDING' | translate }}</span>
|
||||
<span>{{ 'TOOLBAR.STOP_RECORDING' | translate }}</span>
|
||||
}
|
||||
</button>
|
||||
|
||||
|
|
Loading…
Reference in New Issue