Hi, I have built (with help from this Community) an app for time tracking. I can add how many timers I want, and when I click on one timer, the other timer that was active is paused/stopped.
I would want a button which pauses/stops all timers (ie the active one, as the others are already paused/stopped). For example when going to lunch, I do not want the timers to run. I know it is easy just to click on the active timer and it pauses, but it would be nice to have a specific button for it.
I have a collection (timeTrack) for to handle the timers, and then a collection (TheCollection) for the gallery. I guess I need to work with the collection for the timers, but I really have no idea how to proceed. Nothing I have tried has worked. I have added some pictures of some of the code I have on my timer, do not know if any of those can give any idea how to solve this.
Anyone who have any suggestions on how to pause the active timer?




Kind regards,
Anna