Refactor code structure for improved readability and maintainability
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 44s

This commit is contained in:
Torsten Schulz (local)
2026-05-22 14:34:16 +02:00
parent 6adf6b73e8
commit 75a17d42b5
5 changed files with 113 additions and 12 deletions

View File

@@ -3245,7 +3245,7 @@ export default {
const now = new Date();
const currentTime = now.toLocaleTimeString('de-DE', { hour: '2-digit', minute: '2-digit', second: '2-digit' });
const currentHHMM = currentTime.slice(0, 5);
if (!this.trainingStart || !this.trainingEnd) {
if (!this.trainingStart) {
return;
}