Skip to content

Commit

Permalink
fix(timer): Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bikingbadger committed Mar 3, 2021
1 parent 999c81a commit af40109
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions src/components/ui/TheHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- <img alt="logo" src="../../assets/images/logo.svg" height="40" class="p-mr-2" /> -->
</template>
<template #end>
<timer-bar></timer-bar>
<timer-bar v-if="isLoggedIn"></timer-bar>
<!-- <InputText placeholder="Search" type="text" /> -->
<div>
<Button
Expand All @@ -14,10 +14,14 @@
class="p-mr-2 p-button-rounded"
/>
<router-link to="login" v-if="!isLoggedIn">
<Button icon="pi pi-lock" class="p-mr-2 p-button-rounded"></Button>
<Button icon="pi pi-lock" class="p-mr-2 p-button-rounded" title="login"></Button>
</router-link>
<router-link to="register" v-if="!isLoggedIn">
<Button icon="pi pi-pencil" class="p-mr-2 p-button-rounded" @click="register"
<Button
icon="pi pi-pencil"
class="p-mr-2 p-button-rounded"
@click="register"
title="register"
/></router-link>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions src/store/timer/timerMutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
stopTimer: (state) => {
state.isRunning = false;
state.currentPomodoro = state.currentTime;
console.log('stop', state.currentPomodoro, state.currentTime);
// console.log('stop', state.currentPomodoro, state.currentTime);
},
resetTimer: (state) => {
state.isRunning = false;
Expand Down Expand Up @@ -67,7 +67,7 @@ export default {
state.currentTime = state.pomodoroTime;
state.workTime = true;
}
console.log('next', state.currentPomodoro, state.currentTime);
// console.log('next', state.currentPomodoro, state.currentTime);
},
playAlarm: (state) => {
state.sound.play();
Expand Down

0 comments on commit af40109

Please sign in to comment.