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
feat: support directly setting dialog title text
Leonard Kim19de32e20631
diff --git a/react/features/base/dialog/components/AbstractDialog.js b/react/features/base/dialog/components/AbstractDialog.jsindex ae75ea57cc..328fedadbf 100644--- a/react/features/base/dialog/components/AbstractDialog.js+++ b/react/features/base/dialog/components/AbstractDialog.js@@ -56,7 +56,14 @@ export default class AbstractDialog extends Component {/*** Key to use for showing a title.*/- titleKey: React.PropTypes.string+ titleKey: React.PropTypes.string,++ /**+ * The string to use as a title instead of {@code titleKey}. If a truthy+ * value is specified, it takes precedence over {@code titleKey} i.e.+ * the latter is unused.+ */+ titleString: React.PropTypes.string}/**diff --git a/react/features/base/dialog/components/Dialog.web.js b/react/features/base/dialog/components/Dialog.web.jsindex ba67dbd09d..5a19ac0ae2 100644--- a/react/features/base/dialog/components/Dialog.web.js+++ b/react/features/base/dialog/components/Dialog.web.js@@ -114,7 +114,7 @@ class Dialog extends AbstractDialog {return (<header><h2>- { t(this.props.titleKey) }+ { this.props.titleString || t(this.props.titleKey) }</h2></header>);