| 1 2 3 4 5 6 7 8 9 10 11 12 | export default {
isStarted: state => state.started,
isPaused: state => state.paused,
isStopped: state => state.stopped,
isWorking: state => state.isWorking,
getMinutes: state => Math.floor(state.counter / 60),
getSeconds: state => state.counter % 60,
getTimestamp: state => state.timestamp,
isSoundEnabled: state => state.soundEnabled
}
|