We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25e017 commit bb970a9Copy full SHA for bb970a9
modules/st2-menu/menu.component.js
@@ -95,7 +95,7 @@ export default class Menu extends React.Component {
95
96
function resetTimer() {
97
window.clearTimeout(t);
98
- let millisecondTime = window.st2constants.st2Config.application_inactivity_time * 1000 || APPLICATION_INACTIVITY_TIME * 1000;
+ const millisecondTime = window.st2constants.st2Config.application_inactivity_time * 1000 || APPLICATION_INACTIVITY_TIME * 1000;
99
t = window.setTimeout(logoutFunction, millisecondTime); // time is in milliseconds,application will logout after 2 hr. We can set whatever time we want.
100
}
101
0 commit comments