Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(Dialog.web.js): Fixes okDisabled state not taken into account

yanas6536f825599e
diff --git a/react/features/base/dialog/components/Dialog.web.js b/react/features/base/dialog/components/Dialog.web.js
index 3800623f5b..dd1b264fe6 100644
--- a/react/features/base/dialog/components/Dialog.web.js
+++ b/react/features/base/dialog/components/Dialog.web.js
@@ -137,6 +137,7 @@ class Dialog extends AbstractDialog {
appearance = 'primary'
form = 'modal-dialog-form'
id = 'modal-dialog-ok-button'
+ isDisabled = { this.props.okDisabled }
onClick = { this._onSubmit }>
{ this.props.t(this.props.okTitleKey || 'dialog.Ok') }
</AKButton>