add getcurrenttimer on config update
This commit is contained in:
8
index.js
8
index.js
@@ -87,7 +87,13 @@ class toggltrack extends InstanceBase {
|
|||||||
this.config = config
|
this.config = config
|
||||||
|
|
||||||
this.gotOptions.headers = this.auth()
|
this.gotOptions.headers = this.auth()
|
||||||
this.getWorkspace()
|
|
||||||
|
if (this.gotOptions.headers != null) {
|
||||||
|
this.getWorkspace().then(
|
||||||
|
this.getCurrentTimer()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
this.updateActions()
|
this.updateActions()
|
||||||
this.updateVariables()
|
this.updateVariables()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user