Skip to content

Commit

Permalink
Remove leftover debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiquito committed Mar 4, 2022
1 parent 93e212e commit ce59e3b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions client/src/components/TimeoutDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export default defineComponent({
// the countdown timer up to date.
const updateCountdown = () => {
const now = Date.now();
console.log('updating countdown', now);
const sessionTimeRemaining = lastApiRequestTime.value + sessionTimeout - now;
if (idleWarningTriggered.value) {
// If the user is idle, we also need to consider the idle warning
Expand Down Expand Up @@ -92,13 +91,6 @@ export default defineComponent({
idleTimeout,
};
},
onIdle() {
// TODO why this does not trigger
console.log('Triggered onIdle!');
this.show = true;
this.idleWarningTriggered = true;
this.idleStartTime = Date.now();
},
});
</script>

Expand Down

0 comments on commit ce59e3b

Please sign in to comment.