ov-components: Enhance recording activity component: update view recordings button visibility based on recording status and improve toolbar button text for active recording state

master
Carlos Santos 2025-07-29 19:10:35 +02:00
parent fe3f90d266
commit fce026766b
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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>