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,
|
||||
meetingId: 1,
|
||||
userId: 1,
|
||||
inactivityCheck: 1,
|
||||
responseDelay: 1,
|
||||
currentConnectionId: 1,
|
||||
connectionIdUpdateTime: 1,
|
||||
inactivityWarningDisplay: 1,
|
||||
inactivityWarningTimeoutSecs: 1,
|
||||
};
|
||||
const User = Users.findOne({ userId: credentials.requesterUserId }, { fields });
|
||||
const meeting = Meetings.findOne({ meetingId }, {
|
||||
|
@ -476,12 +476,12 @@ class App extends Component {
|
||||
renderActivityCheck() {
|
||||
const { User } = this.props;
|
||||
|
||||
const { inactivityCheck, responseDelay } = User;
|
||||
const { inactivityWarningDisplay, inactivityWarningTimeoutSecs } = User;
|
||||
|
||||
return (inactivityCheck ? (
|
||||
return (inactivityWarningDisplay ? (
|
||||
<ActivityCheckContainer
|
||||
inactivityCheck={inactivityCheck}
|
||||
responseDelay={responseDelay}
|
||||
inactivityCheck={inactivityWarningDisplay}
|
||||
responseDelay={inactivityWarningTimeoutSecs}
|
||||
/>
|
||||
) : null);
|
||||
}
|
||||
|
@ -22,6 +22,8 @@ subscription userCurrentSubscription {
|
||||
guest
|
||||
guestStatus
|
||||
hasDrawPermissionOnCurrentPage
|
||||
inactivityWarningDisplay
|
||||
inactivityWarningTimeoutSecs
|
||||
isDialIn
|
||||
isModerator
|
||||
isOnline
|
||||
|
Loading…
Reference in New Issue
Block a user