Merge pull request #19879 from ramonlsouza/pr-19851
fix: inactivity warning - front-end
This commit is contained in:
commit
44af6f1908
@ -390,10 +390,10 @@ export default withTracker(() => {
|
|||||||
loggedOut: 1,
|
loggedOut: 1,
|
||||||
meetingId: 1,
|
meetingId: 1,
|
||||||
userId: 1,
|
userId: 1,
|
||||||
inactivityCheck: 1,
|
|
||||||
responseDelay: 1,
|
|
||||||
currentConnectionId: 1,
|
currentConnectionId: 1,
|
||||||
connectionIdUpdateTime: 1,
|
connectionIdUpdateTime: 1,
|
||||||
|
inactivityWarningDisplay: 1,
|
||||||
|
inactivityWarningTimeoutSecs: 1,
|
||||||
};
|
};
|
||||||
const User = Users.findOne({ userId: credentials.requesterUserId }, { fields });
|
const User = Users.findOne({ userId: credentials.requesterUserId }, { fields });
|
||||||
const meeting = Meetings.findOne({ meetingId }, {
|
const meeting = Meetings.findOne({ meetingId }, {
|
||||||
|
@ -476,12 +476,12 @@ class App extends Component {
|
|||||||
renderActivityCheck() {
|
renderActivityCheck() {
|
||||||
const { User } = this.props;
|
const { User } = this.props;
|
||||||
|
|
||||||
const { inactivityCheck, responseDelay } = User;
|
const { inactivityWarningDisplay, inactivityWarningTimeoutSecs } = User;
|
||||||
|
|
||||||
return (inactivityCheck ? (
|
return (inactivityWarningDisplay ? (
|
||||||
<ActivityCheckContainer
|
<ActivityCheckContainer
|
||||||
inactivityCheck={inactivityCheck}
|
inactivityCheck={inactivityWarningDisplay}
|
||||||
responseDelay={responseDelay}
|
responseDelay={inactivityWarningTimeoutSecs}
|
||||||
/>
|
/>
|
||||||
) : null);
|
) : null);
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,8 @@ subscription userCurrentSubscription {
|
|||||||
guest
|
guest
|
||||||
guestStatus
|
guestStatus
|
||||||
hasDrawPermissionOnCurrentPage
|
hasDrawPermissionOnCurrentPage
|
||||||
|
inactivityWarningDisplay
|
||||||
|
inactivityWarningTimeoutSecs
|
||||||
isDialIn
|
isDialIn
|
||||||
isModerator
|
isModerator
|
||||||
isOnline
|
isOnline
|
||||||
|
Loading…
Reference in New Issue
Block a user