diff --git a/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/services/meeting-context.service.ts b/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/services/meeting-context.service.ts index ddb07090..c4ee41ed 100644 --- a/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/services/meeting-context.service.ts +++ b/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/services/meeting-context.service.ts @@ -66,16 +66,15 @@ export class MeetingContextService { /** * Computed signal for whether the current user can moderate the room */ - readonly canModerateRoom = computed( - () => this.roomFeatureService.features().permissions.canModerateRoom - ); + readonly canModerateRoom = computed(() => this.roomFeatureService.features().permissions.canModerateRoom); /** * Computed signal for whether layout switching is allowed */ - readonly allowLayoutSwitching = computed( - () => this.roomFeatureService.features().ui.showLayoutSelector - ); + readonly allowLayoutSwitching = computed(() => this.roomFeatureService.features().ui.showLayoutSelector); + + /** Computed signal for captions status based on room and global configuration */ + readonly getCaptionsStatus = computed(() => this.roomFeatureService.features().ui.captionsStatus); /** Readonly signal for whether the device is mobile */ readonly isMobile = this.viewportService.isMobile;