add getcurrenttimer on config update

This commit is contained in:
Peter Daniel
2023-06-29 13:03:39 +01:00
parent b9e7695675
commit 535b64e0e3

View File

@@ -87,7 +87,13 @@ class toggltrack extends InstanceBase {
this.config = config
this.gotOptions.headers = this.auth()
this.getWorkspace()
if (this.gotOptions.headers != null) {
this.getWorkspace().then(
this.getCurrentTimer()
)
}
this.updateActions()
this.updateVariables()
}