Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(highlight) fix allowing disabled button to execute handler (#11128)
Avram Tudorc5fbe14de296
diff --git a/react/features/recording/components/Recording/AbstractHighlightButton.js b/react/features/recording/components/Recording/AbstractHighlightButton.jsindex 39acdcad23..a9cad6629b 100644--- a/react/features/recording/components/Recording/AbstractHighlightButton.js+++ b/react/features/recording/components/Recording/AbstractHighlightButton.js@@ -43,9 +43,11 @@ export default class AbstractHighlightButton<P: Props> extends Component<P> {* @returns {void}*/_onClick() {- const { dispatch } = this.props;+ const { _disabled, dispatch } = this.props;- dispatch(highlightMeetingMoment());+ if (!_disabled) {+ dispatch(highlightMeetingMoment());+ }}}