Find Active or Most Recent Timer
This commit is contained in:
@@ -46,7 +46,7 @@ func opI3Status(cmd *cobra.Command, args []string) error {
|
||||
return nil
|
||||
}
|
||||
state := "Idle"
|
||||
wrk, err := p.GetMostRecentTimer()
|
||||
wrk, err := p.GetActiveOrMostRecent()
|
||||
if err != nil {
|
||||
fmt.Print("{\"icon\":\"time\",\"state\":\"Critical\", \"text\": \"Error loading timer entry\"}")
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user