From 27d70de3cd5335980c98088e956d4a60597a4c8c Mon Sep 17 00:00:00 2001 From: csantosm <4a.santos@gmail.com> Date: Thu, 10 Mar 2022 12:55:43 +0100 Subject: [PATCH] openvidu-components: Added directive for hidding/showing mute button --- .../participant-panel-item.component.css | 1 - .../participant-panel-item.component.html | 2 +- .../participant-panel-item.component.ts | 27 +++++++++++-- .../directives/api/api.directive.module.ts | 7 +++- .../api/participant-panel-item.directive.ts | 39 +++++++++++++++++++ .../config/openvidu-angular.config.service.ts | 4 ++ .../openvidu-angular/src/public-api.ts | 1 + 7 files changed, 74 insertions(+), 7 deletions(-) create mode 100644 openvidu-components-angular/projects/openvidu-angular/src/lib/directives/api/participant-panel-item.directive.ts diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.css b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.css index d165c77c..80629081 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.css +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.css @@ -16,7 +16,6 @@ ::ng-deep .participant-action-buttons > *:not(#action-btn) > * { margin: auto; - } mat-list-item { diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.html index bd41673d..32e9e3d3 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.html +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-panel-item/participant-panel-item.component.html @@ -11,7 +11,7 @@