|
@@ -10,6 +10,7 @@ import { Icon, IconPhone } from '../../../../base/icons';
|
10
|
10
|
import { getLocalParticipant } from '../../../../base/participants';
|
11
|
11
|
import { MultiSelectAutocomplete } from '../../../../base/react';
|
12
|
12
|
import { connect } from '../../../../base/redux';
|
|
13
|
+import { isVpaasMeeting } from '../../../../billing-counter/functions';
|
13
|
14
|
import { hideAddPeopleDialog } from '../../../actions';
|
14
|
15
|
import AbstractAddPeopleDialog, {
|
15
|
16
|
type Props as AbstractProps,
|
|
@@ -31,6 +32,11 @@ type Props = AbstractProps & {
|
31
|
32
|
*/
|
32
|
33
|
_footerTextEnabled: boolean,
|
33
|
34
|
|
|
35
|
+ /**
|
|
36
|
+ * Whether the meeting belongs to JaaS user
|
|
37
|
+ */
|
|
38
|
+ _isVpaas: boolean,
|
|
39
|
+
|
34
|
40
|
/**
|
35
|
41
|
* The redux {@code dispatch} function.
|
36
|
42
|
*/
|
|
@@ -110,6 +116,7 @@ class InviteContactsForm extends AbstractAddPeopleDialog<Props, State> {
|
110
|
116
|
const {
|
111
|
117
|
_addPeopleEnabled,
|
112
|
118
|
_dialOutEnabled,
|
|
119
|
+ _isVpaas,
|
113
|
120
|
t
|
114
|
121
|
} = this.props;
|
115
|
122
|
const footerText = this._renderFooterText();
|
|
@@ -152,7 +159,8 @@ class InviteContactsForm extends AbstractAddPeopleDialog<Props, State> {
|
152
|
159
|
ref = { this._setMultiSelectElement }
|
153
|
160
|
resourceClient = { this._resourceClient }
|
154
|
161
|
shouldFitContainer = { true }
|
155
|
|
- shouldFocus = { true } />
|
|
162
|
+ shouldFocus = { true }
|
|
163
|
+ showSupportLink = { !_isVpaas } />
|
156
|
164
|
{ this._renderFormActions() }
|
157
|
165
|
</div>
|
158
|
166
|
);
|
|
@@ -516,7 +524,8 @@ function _mapStateToProps(state) {
|
516
|
524
|
|
517
|
525
|
return {
|
518
|
526
|
..._abstractMapStateToProps(state),
|
519
|
|
- _footerTextEnabled: footerTextEnabled
|
|
527
|
+ _footerTextEnabled: footerTextEnabled,
|
|
528
|
+ _isVpaas: isVpaasMeeting(state)
|
520
|
529
|
};
|
521
|
530
|
}
|
522
|
531
|
|